Struct kvproto::encryptionpb::EncryptionMeta[][src]

pub struct EncryptionMeta {
    pub key_id: u64,
    pub iv: Vec<u8>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

key_id: u64iv: Vec<u8>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl EncryptionMeta[src]

pub fn new() -> EncryptionMeta[src]

pub fn get_key_id(&self) -> u64[src]

pub fn clear_key_id(&mut self)[src]

pub fn set_key_id(&mut self, v: u64)[src]

pub fn get_iv(&self) -> &[u8][src]

pub fn clear_iv(&mut self)[src]

pub fn set_iv(&mut self, v: Vec<u8>)[src]

pub fn mut_iv(&mut self) -> &mut Vec<u8>[src]

pub fn take_iv(&mut self) -> Vec<u8>[src]

Trait Implementations

impl Clear for EncryptionMeta[src]

impl Clone for EncryptionMeta[src]

impl Debug for EncryptionMeta[src]

impl Default for EncryptionMeta[src]

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

impl Message for EncryptionMeta[src]

impl PartialEq<EncryptionMeta> for EncryptionMeta[src]

impl PbPrint for EncryptionMeta[src]

impl ProtobufValue for EncryptionMeta[src]

impl StructuralPartialEq for EncryptionMeta[src]

Auto Trait Implementations

impl RefUnwindSafe for EncryptionMeta

impl Send for EncryptionMeta

impl Sync for EncryptionMeta

impl Unpin for EncryptionMeta

impl UnwindSafe for EncryptionMeta

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.