pub struct KeyValueParam {
pub key: String,
pub value: String,
}Expand description
Key-Value pair used to create a parameter map.
Fields§
§key: StringKey of Key-Value pair.
value: StringValue of Key-Value pair.
Trait Implementations§
Source§impl Clone for KeyValueParam
impl Clone for KeyValueParam
Source§fn clone(&self) -> KeyValueParam
fn clone(&self) -> KeyValueParam
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 Debug for KeyValueParam
impl Debug for KeyValueParam
Source§impl<'de> Deserialize<'de> for KeyValueParam
impl<'de> Deserialize<'de> for KeyValueParam
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 KeyValueParam
impl PartialEq for KeyValueParam
Source§impl Serialize for KeyValueParam
impl Serialize for KeyValueParam
impl StructuralPartialEq for KeyValueParam
Auto Trait Implementations§
impl Freeze for KeyValueParam
impl RefUnwindSafe for KeyValueParam
impl Send for KeyValueParam
impl Sync for KeyValueParam
impl Unpin for KeyValueParam
impl UnwindSafe for KeyValueParam
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