pub struct KeyValuePair {
pub key: String,
pub value: String,
}
Expand description
Simple Key-Value-Pair. E.g. for header-fields, Queries, etc.
Fields§
§key: String
Key.
value: String
Value.
Trait Implementations§
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