pub enum AdapterToken<'input> {
}Expand description
Token with decoded content, ready for deserialization.
Variants§
ObjectStart
{
ObjectEnd
}
ArrayStart
[
ArrayEnd
]
Colon
:
Comma
,
Null
null
True
true
False
false
String(Cow<'input, str>)
String value (decoded)
U64(u64)
Unsigned 64-bit integer
I64(i64)
Signed 64-bit integer
U128(u128)
Unsigned 128-bit integer
I128(i128)
Signed 128-bit integer
F64(f64)
64-bit float
Eof
End of input
Trait Implementations§
impl<'input> StructuralPartialEq for Token<'input>
Auto Trait Implementations§
impl<'input> Freeze for Token<'input>
impl<'input> RefUnwindSafe for Token<'input>
impl<'input> Send for Token<'input>
impl<'input> Sync for Token<'input>
impl<'input> Unpin for Token<'input>
impl<'input> UnwindSafe for Token<'input>
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