pub struct LegacyItem<K, V> {
pub key: K,
pub value: V,
pub sequence: u64,
}Fields§
§key: K§value: V§sequence: u64Trait Implementations§
Source§impl<K: Clone, V: Clone> Clone for LegacyItem<K, V>
impl<K: Clone, V: Clone> Clone for LegacyItem<K, V>
Source§fn clone(&self) -> LegacyItem<K, V>
fn clone(&self) -> LegacyItem<K, V>
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<'de, K, V> Deserialize<'de> for LegacyItem<K, V>where
K: Deserialize<'de>,
V: Deserialize<'de>,
impl<'de, K, V> Deserialize<'de> for LegacyItem<K, V>where
K: Deserialize<'de>,
V: Deserialize<'de>,
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<LegacyItem<ObjectKeyV40, ObjectValueV40>> for ObjectItemV41
impl From<LegacyItem<ObjectKeyV40, ObjectValueV40>> for ObjectItemV41
Source§fn from(item: ObjectItemV40) -> Self
fn from(item: ObjectItemV40) -> Self
Converts to this type from the input type.
Source§impl From<LegacyItem<ObjectKeyV40, ObjectValueV41>> for ObjectItemV43
impl From<LegacyItem<ObjectKeyV40, ObjectValueV41>> for ObjectItemV43
Source§fn from(item: ObjectItemV41) -> Self
fn from(item: ObjectItemV41) -> Self
Converts to this type from the input type.
Source§impl From<LegacyItem<ObjectKeyV43, ObjectValueV41>> for ObjectItemV46
impl From<LegacyItem<ObjectKeyV43, ObjectValueV41>> for ObjectItemV46
Source§fn from(item: ObjectItemV43) -> Self
fn from(item: ObjectItemV43) -> Self
Converts to this type from the input type.
Source§impl From<LegacyItem<ObjectKeyV43, ObjectValueV46>> for ObjectItemV47
impl From<LegacyItem<ObjectKeyV43, ObjectValueV46>> for ObjectItemV47
Source§fn from(item: ObjectItemV46) -> Self
fn from(item: ObjectItemV46) -> Self
Converts to this type from the input type.
Source§impl From<LegacyItem<ObjectKeyV43, ObjectValueV47>> for ObjectItemV49
impl From<LegacyItem<ObjectKeyV43, ObjectValueV47>> for ObjectItemV49
Source§fn from(item: ObjectItemV47) -> Self
fn from(item: ObjectItemV47) -> Self
Converts to this type from the input type.
Source§impl From<LegacyItem<ObjectKeyV43, ObjectValueV49>> for ObjectItemV50
impl From<LegacyItem<ObjectKeyV43, ObjectValueV49>> for ObjectItemV50
Source§fn from(item: ObjectItemV49) -> Self
fn from(item: ObjectItemV49) -> Self
Converts to this type from the input type.
Source§impl From<LegacyItem<ObjectKeyV43, ObjectValueV50>> for ObjectItemV54
impl From<LegacyItem<ObjectKeyV43, ObjectValueV50>> for ObjectItemV54
Source§fn from(item: ObjectItemV50) -> Self
fn from(item: ObjectItemV50) -> Self
Converts to this type from the input type.
Source§impl From<LegacyItem<ObjectKeyV54, ObjectValueV54>> for ObjectItemV55
impl From<LegacyItem<ObjectKeyV54, ObjectValueV54>> for ObjectItemV55
Source§fn from(item: ObjectItemV54) -> Self
fn from(item: ObjectItemV54) -> Self
Converts to this type from the input type.
Source§impl<K, V> Serialize for LegacyItem<K, V>
impl<K, V> Serialize for LegacyItem<K, V>
Source§impl<K: TypeFingerprint, V: TypeFingerprint> TypeFingerprint for LegacyItem<K, V>
impl<K: TypeFingerprint, V: TypeFingerprint> TypeFingerprint for LegacyItem<K, V>
fn fingerprint() -> String
impl<K: Copy, V: Copy> Copy for LegacyItem<K, V>
impl<K: Eq, V: Eq> Eq for LegacyItem<K, V>
impl<K, V> StructuralPartialEq for LegacyItem<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for LegacyItem<K, V>
impl<K, V> RefUnwindSafe for LegacyItem<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for LegacyItem<K, V>
impl<K, V> Sync for LegacyItem<K, V>
impl<K, V> Unpin for LegacyItem<K, V>
impl<K, V> UnsafeUnpin for LegacyItem<K, V>where
K: UnsafeUnpin,
V: UnsafeUnpin,
impl<K, V> UnwindSafe for LegacyItem<K, V>where
K: UnwindSafe,
V: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
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