pub struct RawToken {
pub ty: Option<String>,
pub value: Value,
pub description: Option<String>,
pub extensions: Option<Value>,
}Expand description
A token as written in a file: its value may still be an alias.
Fields§
§ty: Option<String>$type, given on the token or inherited from a group.
value: Value$value, as written.
description: Option<String>$description.
extensions: Option<Value>$extensions, kept as written.
Implementations§
Trait Implementations§
impl StructuralPartialEq for RawToken
Auto Trait Implementations§
impl Freeze for RawToken
impl RefUnwindSafe for RawToken
impl Send for RawToken
impl Sync for RawToken
impl Unpin for RawToken
impl UnsafeUnpin for RawToken
impl UnwindSafe for RawToken
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