pub struct EncryptionKeysV49(/* private fields */);
Implementations§
Source§impl EncryptionKeysV49
impl EncryptionKeysV49
pub fn get(&self, id: u64) -> Option<&EncryptionKey>
pub fn insert(&mut self, id: u64, key: EncryptionKey)
pub fn remove(&mut self, id: u64) -> Option<EncryptionKey>
Trait Implementations§
Source§impl Clone for EncryptionKeysV49
impl Clone for EncryptionKeysV49
Source§fn clone(&self) -> EncryptionKeysV49
fn clone(&self) -> EncryptionKeysV49
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EncryptionKeysV49
impl Debug for EncryptionKeysV49
Source§impl Default for EncryptionKeysV49
impl Default for EncryptionKeysV49
Source§fn default() -> EncryptionKeysV49
fn default() -> EncryptionKeysV49
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EncryptionKeysV49
impl<'de> Deserialize<'de> for EncryptionKeysV49
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<EncryptionKeysV47> for EncryptionKeysV49
impl From<EncryptionKeysV47> for EncryptionKeysV49
Source§fn from(value: EncryptionKeysV47) -> Self
fn from(value: EncryptionKeysV47) -> Self
Converts to this type from the input type.
Source§impl From<EncryptionKeysV49> for BTreeMap<u64, WrappedKey>
impl From<EncryptionKeysV49> for BTreeMap<u64, WrappedKey>
Source§fn from(keys: EncryptionKeys) -> Self
fn from(keys: EncryptionKeys) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EncryptionKeysV49
impl PartialEq for EncryptionKeysV49
Source§impl Serialize for EncryptionKeysV49
impl Serialize for EncryptionKeysV49
Source§impl TypeFingerprint for EncryptionKeysV49
impl TypeFingerprint for EncryptionKeysV49
fn fingerprint() -> String
impl StructuralPartialEq for EncryptionKeysV49
Auto Trait Implementations§
impl Freeze for EncryptionKeysV49
impl RefUnwindSafe for EncryptionKeysV49
impl Send for EncryptionKeysV49
impl Sync for EncryptionKeysV49
impl Unpin for EncryptionKeysV49
impl UnwindSafe for EncryptionKeysV49
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more