Struct worterbuch_common::KeyValuePair
source · pub struct KeyValuePair {
pub key: Key,
pub value: Value,
}Fields§
§key: Key§value: ValueImplementations§
Trait Implementations§
source§impl Clone for KeyValuePair
impl Clone for KeyValuePair
source§fn clone(&self) -> KeyValuePair
fn clone(&self) -> KeyValuePair
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 KeyValuePair
impl Debug for KeyValuePair
source§impl<'de> Deserialize<'de> for KeyValuePair
impl<'de> Deserialize<'de> for KeyValuePair
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 Display for KeyValuePair
impl Display for KeyValuePair
source§impl From<KeyValuePair> for Option<Value>
impl From<KeyValuePair> for Option<Value>
source§fn from(kvp: KeyValuePair) -> Self
fn from(kvp: KeyValuePair) -> Self
Converts to this type from the input type.
source§impl From<KeyValuePair> for Value
impl From<KeyValuePair> for Value
source§fn from(kvp: KeyValuePair) -> Self
fn from(kvp: KeyValuePair) -> Self
Converts to this type from the input type.
source§impl PartialEq for KeyValuePair
impl PartialEq for KeyValuePair
source§fn eq(&self, other: &KeyValuePair) -> bool
fn eq(&self, other: &KeyValuePair) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for KeyValuePair
impl Serialize for KeyValuePair
source§impl<T: DeserializeOwned> TryFrom<KeyValuePair> for TypedKeyValuePair<T>
impl<T: DeserializeOwned> TryFrom<KeyValuePair> for TypedKeyValuePair<T>
impl Eq for KeyValuePair
impl StructuralPartialEq for KeyValuePair
Auto Trait Implementations§
impl Freeze for KeyValuePair
impl RefUnwindSafe for KeyValuePair
impl Send for KeyValuePair
impl Sync for KeyValuePair
impl Unpin for KeyValuePair
impl UnwindSafe for KeyValuePair
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)