Struct worterbuch_common::TypedKeyValuePair
source · pub struct TypedKeyValuePair<T: DeserializeOwned> {
pub key: Key,
pub value: T,
}Fields§
§key: Key§value: TTrait Implementations§
source§impl<T: Clone + DeserializeOwned> Clone for TypedKeyValuePair<T>
impl<T: Clone + DeserializeOwned> Clone for TypedKeyValuePair<T>
source§fn clone(&self) -> TypedKeyValuePair<T>
fn clone(&self) -> TypedKeyValuePair<T>
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<T: Debug + DeserializeOwned> Debug for TypedKeyValuePair<T>
impl<T: Debug + DeserializeOwned> Debug for TypedKeyValuePair<T>
source§impl<T: DeserializeOwned> From<TypedKeyValuePair<T>> for TypedStateEvent<T>
impl<T: DeserializeOwned> From<TypedKeyValuePair<T>> for TypedStateEvent<T>
source§fn from(kvp: TypedKeyValuePair<T>) -> Self
fn from(kvp: TypedKeyValuePair<T>) -> Self
Converts to this type from the input type.
source§impl<T: PartialEq + DeserializeOwned> PartialEq for TypedKeyValuePair<T>
impl<T: PartialEq + DeserializeOwned> PartialEq for TypedKeyValuePair<T>
source§impl<T: DeserializeOwned> TryFrom<KeyValuePair> for TypedKeyValuePair<T>
impl<T: DeserializeOwned> TryFrom<KeyValuePair> for TypedKeyValuePair<T>
impl<T: Eq + DeserializeOwned> Eq for TypedKeyValuePair<T>
impl<T: DeserializeOwned> StructuralPartialEq for TypedKeyValuePair<T>
Auto Trait Implementations§
impl<T> Freeze for TypedKeyValuePair<T>where
T: Freeze,
impl<T> RefUnwindSafe for TypedKeyValuePair<T>where
T: RefUnwindSafe,
impl<T> Send for TypedKeyValuePair<T>where
T: Send,
impl<T> Sync for TypedKeyValuePair<T>where
T: Sync,
impl<T> Unpin for TypedKeyValuePair<T>where
T: Unpin,
impl<T> UnwindSafe for TypedKeyValuePair<T>where
T: 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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)