Struct kvproto::encryptionpb::KeyDictionary[][src]

pub struct KeyDictionary {
    pub keys: HashMap<u64, DataKey>,
    pub current_key_id: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

keys: HashMap<u64, DataKey>current_key_id: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl KeyDictionary[src]

pub fn new() -> KeyDictionary[src]

pub fn get_keys(&self) -> &HashMap<u64, DataKey>[src]

pub fn clear_keys(&mut self)[src]

pub fn set_keys(&mut self, v: HashMap<u64, DataKey>)[src]

pub fn mut_keys(&mut self) -> &mut HashMap<u64, DataKey>[src]

pub fn take_keys(&mut self) -> HashMap<u64, DataKey>[src]

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

pub fn clear_current_key_id(&mut self)[src]

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

Trait Implementations

impl Clear for KeyDictionary[src]

impl Clone for KeyDictionary[src]

impl Debug for KeyDictionary[src]

impl Default for KeyDictionary[src]

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

impl Message for KeyDictionary[src]

impl PartialEq<KeyDictionary> for KeyDictionary[src]

impl PbPrint for KeyDictionary[src]

impl ProtobufValue for KeyDictionary[src]

impl StructuralPartialEq for KeyDictionary[src]

Auto Trait Implementations

impl RefUnwindSafe for KeyDictionary

impl Send for KeyDictionary

impl Sync for KeyDictionary

impl Unpin for KeyDictionary

impl UnwindSafe for KeyDictionary

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.