Struct tdlib::types::JsonObjectMember
source · pub struct JsonObjectMember {
pub key: String,
pub value: JsonValue,
}Expand description
Represents one member of a JSON object
Fields§
§key: StringMember’s key
value: JsonValueMember’s value
Trait Implementations§
source§impl Clone for JsonObjectMember
impl Clone for JsonObjectMember
source§fn clone(&self) -> JsonObjectMember
fn clone(&self) -> JsonObjectMember
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 moresource§impl Debug for JsonObjectMember
impl Debug for JsonObjectMember
source§impl<'de> Deserialize<'de> for JsonObjectMember
impl<'de> Deserialize<'de> for JsonObjectMember
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<JsonObjectMember> for JsonObjectMember
impl PartialEq<JsonObjectMember> for JsonObjectMember
source§fn eq(&self, other: &JsonObjectMember) -> bool
fn eq(&self, other: &JsonObjectMember) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for JsonObjectMember
impl Serialize for JsonObjectMember
impl StructuralPartialEq for JsonObjectMember
Auto Trait Implementations§
impl RefUnwindSafe for JsonObjectMember
impl Send for JsonObjectMember
impl Sync for JsonObjectMember
impl Unpin for JsonObjectMember
impl UnwindSafe for JsonObjectMember
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