pub struct JsonKeyValue<'a> {
pub key: String,
pub value: JsonValue<'a>,
}
Expand description
Structure representing a JSON key value pair
Fields§
§key: String
The key for the pair
value: JsonValue<'a>
The JSON value
Trait Implementations§
Source§impl<'a> Clone for JsonKeyValue<'a>
impl<'a> Clone for JsonKeyValue<'a>
Source§fn clone(&self) -> JsonKeyValue<'a>
fn clone(&self) -> JsonKeyValue<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for JsonKeyValue<'a>
impl<'a> RefUnwindSafe for JsonKeyValue<'a>
impl<'a> Send for JsonKeyValue<'a>
impl<'a> Sync for JsonKeyValue<'a>
impl<'a> Unpin for JsonKeyValue<'a>
impl<'a> UnwindSafe for JsonKeyValue<'a>
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