pub struct KeyValueItem {
pub key: Option<String>,
pub value: Option<String>,
}
Expand description
Key value tuple.
Fields§
§key: Option<String>
Key of tuple.
value: Option<String>
Value of tuple.
Implementations§
source§impl KeyValueItem
impl KeyValueItem
Trait Implementations§
source§impl Clone for KeyValueItem
impl Clone for KeyValueItem
source§fn clone(&self) -> KeyValueItem
fn clone(&self) -> KeyValueItem
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 KeyValueItem
impl Debug for KeyValueItem
source§impl Default for KeyValueItem
impl Default for KeyValueItem
source§fn default() -> KeyValueItem
fn default() -> KeyValueItem
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for KeyValueItem
impl<'de> Deserialize<'de> for KeyValueItem
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 KeyValueItem
impl PartialEq for KeyValueItem
source§fn eq(&self, other: &KeyValueItem) -> bool
fn eq(&self, other: &KeyValueItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KeyValueItem
impl Serialize for KeyValueItem
impl StructuralPartialEq for KeyValueItem
Auto Trait Implementations§
impl Freeze for KeyValueItem
impl RefUnwindSafe for KeyValueItem
impl Send for KeyValueItem
impl Sync for KeyValueItem
impl Unpin for KeyValueItem
impl UnwindSafe for KeyValueItem
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