pub struct RawNode {
pub type_name: String,
pub named: bool,
pub root: bool,
pub extra: bool,
pub fields: HashMap<String, RawCardinality>,
pub children: Option<RawCardinality>,
pub subtypes: Option<Vec<RawTypeRef>>,
}Expand description
Raw node definition from node-types.json.
Fields§
§type_name: String§named: bool§root: bool§extra: bool§fields: HashMap<String, RawCardinality>§children: Option<RawCardinality>§subtypes: Option<Vec<RawTypeRef>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for RawNode
impl<'de> Deserialize<'de> for RawNode
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
Auto Trait Implementations§
impl Freeze for RawNode
impl RefUnwindSafe for RawNode
impl Send for RawNode
impl Sync for RawNode
impl Unpin for RawNode
impl UnwindSafe for RawNode
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