#[repr(C)]pub struct JsonKeyValue {
pub key: AzString,
pub value: Json,
}Expand description
A key-value pair in a JSON object
Fields§
§key: AzStringThe key
value: JsonThe value
Implementations§
Trait Implementations§
Source§impl Clone for JsonKeyValue
impl Clone for JsonKeyValue
Source§fn clone(&self) -> JsonKeyValue
fn clone(&self) -> JsonKeyValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JsonKeyValue
impl Debug for JsonKeyValue
Source§impl FromIterator<JsonKeyValue> for JsonKeyValueVec
impl FromIterator<JsonKeyValue> for JsonKeyValueVec
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = JsonKeyValue>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = JsonKeyValue>,
Creates a value from an iterator. Read more
Source§impl PartialEq for JsonKeyValue
impl PartialEq for JsonKeyValue
Source§fn eq(&self, other: &JsonKeyValue) -> bool
fn eq(&self, other: &JsonKeyValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JsonKeyValue
Auto Trait Implementations§
impl Freeze for JsonKeyValue
impl RefUnwindSafe for JsonKeyValue
impl Send for JsonKeyValue
impl Sync for JsonKeyValue
impl Unpin for JsonKeyValue
impl UnsafeUnpin for JsonKeyValue
impl UnwindSafe for JsonKeyValue
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