Struct krill::upgrades::pre_0_10_0::OldCurrentKeyState
source · pub struct OldCurrentKeyState { /* private fields */ }
Trait Implementations§
source§impl Clone for OldCurrentKeyState
impl Clone for OldCurrentKeyState
source§fn clone(&self) -> OldCurrentKeyState
fn clone(&self) -> OldCurrentKeyState
Returns a copy 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 OldCurrentKeyState
impl Debug for OldCurrentKeyState
source§impl<'de> Deserialize<'de> for OldCurrentKeyState
impl<'de> Deserialize<'de> for OldCurrentKeyState
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 PartialEq for OldCurrentKeyState
impl PartialEq for OldCurrentKeyState
source§fn eq(&self, other: &OldCurrentKeyState) -> bool
fn eq(&self, other: &OldCurrentKeyState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OldCurrentKeyState
impl Serialize for OldCurrentKeyState
source§impl TryFrom<OldCurrentKeyState> for CurrentKeyState
impl TryFrom<OldCurrentKeyState> for CurrentKeyState
§type Error = UpgradeError
type Error = UpgradeError
The type returned in the event of a conversion error.
impl Eq for OldCurrentKeyState
impl StructuralEq for OldCurrentKeyState
impl StructuralPartialEq for OldCurrentKeyState
Auto Trait Implementations§
impl RefUnwindSafe for OldCurrentKeyState
impl Send for OldCurrentKeyState
impl Sync for OldCurrentKeyState
impl Unpin for OldCurrentKeyState
impl UnwindSafe for OldCurrentKeyState
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.