Struct kvproto::encryptionpb::FileInfo[][src]

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

Fields

key_id: u64iv: Vec<u8>method: EncryptionMethodunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl FileInfo[src]

pub fn new() -> FileInfo[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]

pub fn get_method(&self) -> EncryptionMethod[src]

pub fn clear_method(&mut self)[src]

pub fn set_method(&mut self, v: EncryptionMethod)[src]

Trait Implementations

impl Clear for FileInfo[src]

impl Clone for FileInfo[src]

impl Debug for FileInfo[src]

impl Default for FileInfo[src]

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

impl Message for FileInfo[src]

impl PartialEq<FileInfo> for FileInfo[src]

impl PbPrint for FileInfo[src]

impl ProtobufValue for FileInfo[src]

impl StructuralPartialEq for FileInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for FileInfo

impl Send for FileInfo

impl Sync for FileInfo

impl Unpin for FileInfo

impl UnwindSafe for FileInfo

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.