Struct kvproto::encryptionpb::KeyDictionary [−][src]
Fields
keys: HashMap<u64, DataKey>
current_key_id: u64
unknown_fields: UnknownFields
cached_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][+]
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>,