pub struct KV {
pub key: String,
pub value: String,
}
Expand description
Represents a key-value pair.
Fields§
§key: String
§value: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for KV
impl<'de> Deserialize<'de> for KV
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
Auto Trait Implementations§
impl Freeze for KV
impl RefUnwindSafe for KV
impl Send for KV
impl Sync for KV
impl Unpin for KV
impl UnwindSafe for KV
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