[−][src]Struct tink_proto::KeyTemplate
Fields
type_url: String
Required.
in format type.googleapis.com/packagename.messagename
value: Vec<u8>
Optional. If missing, it means the key type doesn't require a *KeyFormat proto.
contains specific serialized *KeyFormat proto
output_prefix_type: i32
Optional. If missing, uses OutputPrefixType.TINK.
Implementations
impl KeyTemplate
[src][−]
pub fn output_prefix_type(&self) -> OutputPrefixType
[src][−]
Returns the enum value of output_prefix_type
, or the default if the field is set to an invalid enum value.
pub fn set_output_prefix_type(&mut self, value: OutputPrefixType)
[src][−]
Sets output_prefix_type
to the provided enum value.
Trait Implementations
impl Clone for KeyTemplate
[src][+]
impl Debug for KeyTemplate
[src][+]
impl Default for KeyTemplate
[src][+]
impl Message for KeyTemplate
[src][+]
impl PartialEq<KeyTemplate> for KeyTemplate
[src][+]
impl StructuralPartialEq for KeyTemplate
[src]
Auto Trait Implementations
impl RefUnwindSafe for KeyTemplate
impl Send for KeyTemplate
impl Sync for KeyTemplate
impl Unpin for KeyTemplate
impl UnwindSafe for KeyTemplate
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,