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§
Auto 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