pub struct JObject {
pub item: Option<String>,
pub type_: Option<String>,
}Expand description
Represents a JSON object.
Fields§
§item: Option<String>§type_: Option<String>Gets the node type for this JToken.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JObject
impl<'de> Deserialize<'de> for JObject
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
impl StructuralPartialEq for JObject
Auto Trait Implementations§
impl Freeze for JObject
impl RefUnwindSafe for JObject
impl Send for JObject
impl Sync for JObject
impl Unpin for JObject
impl UnwindSafe for JObject
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more