Struct kvproto::encryptionpb::MasterKey[][src]

pub struct MasterKey {
    pub backend: Option<MasterKey_oneof_backend>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

backend: Option<MasterKey_oneof_backend>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl MasterKey[src]

pub fn new() -> MasterKey[src]

pub fn get_plaintext(&self) -> &MasterKeyPlaintext[src]

pub fn clear_plaintext(&mut self)[src]

pub fn has_plaintext(&self) -> bool[src]

pub fn set_plaintext(&mut self, v: MasterKeyPlaintext)[src]

pub fn mut_plaintext(&mut self) -> &mut MasterKeyPlaintext[src]

pub fn take_plaintext(&mut self) -> MasterKeyPlaintext[src]

pub fn get_file(&self) -> &MasterKeyFile[src]

pub fn clear_file(&mut self)[src]

pub fn has_file(&self) -> bool[src]

pub fn set_file(&mut self, v: MasterKeyFile)[src]

pub fn mut_file(&mut self) -> &mut MasterKeyFile[src]

pub fn take_file(&mut self) -> MasterKeyFile[src]

pub fn get_kms(&self) -> &MasterKeyKms[src]

pub fn clear_kms(&mut self)[src]

pub fn has_kms(&self) -> bool[src]

pub fn set_kms(&mut self, v: MasterKeyKms)[src]

pub fn mut_kms(&mut self) -> &mut MasterKeyKms[src]

pub fn take_kms(&mut self) -> MasterKeyKms[src]

Trait Implementations

impl Clear for MasterKey[src]

impl Clone for MasterKey[src]

impl Debug for MasterKey[src]

impl Default for MasterKey[src]

impl<'a> Default for &'a MasterKey[src]

impl Message for MasterKey[src]

impl PartialEq<MasterKey> for MasterKey[src]

impl PbPrint for MasterKey[src]

impl ProtobufValue for MasterKey[src]

impl StructuralPartialEq for MasterKey[src]

Auto Trait Implementations

impl RefUnwindSafe for MasterKey

impl Send for MasterKey

impl Sync for MasterKey

impl Unpin for MasterKey

impl UnwindSafe for MasterKey

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.