pub struct JToken {
pub first: Option<Box<JToken>>,
pub has_values: Option<bool>,
pub item: Option<Box<JToken>>,
pub last: Option<Box<JToken>>,
pub next: Option<Box<JToken>>,
pub parent: Option<String>,
pub path: Option<String>,
pub previous: Option<Box<JToken>>,
pub root: Option<Box<JToken>>,
pub type_: Option<String>,
}Expand description
Represents an abstract JSON token.
Fields§
§first: Option<Box<JToken>>Represents an abstract JSON token.
has_values: Option<bool>Gets a value indicating whether this token has child tokens.
item: Option<Box<JToken>>Represents an abstract JSON token.
last: Option<Box<JToken>>Represents an abstract JSON token.
next: Option<Box<JToken>>Represents an abstract JSON token.
parent: Option<String>Gets or sets the parent.
path: Option<String>Gets the path of the JSON token.
previous: Option<Box<JToken>>Represents an abstract JSON token.
root: Option<Box<JToken>>Represents an abstract JSON token.
type_: Option<String>Gets the node type for this JToken.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JToken
impl<'de> Deserialize<'de> for JToken
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 JToken
Auto Trait Implementations§
impl Freeze for JToken
impl RefUnwindSafe for JToken
impl Send for JToken
impl Sync for JToken
impl Unpin for JToken
impl UnwindSafe for JToken
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