pub struct SubtypeDef {
pub description: Option<String>,
pub properties: BTreeMap<String, PropertyDef>,
}Expand description
Definition of a subtype within a node type (D-024).
Fields§
§description: Option<String>§properties: BTreeMap<String, PropertyDef>Trait Implementations§
Source§impl Clone for SubtypeDef
impl Clone for SubtypeDef
Source§fn clone(&self) -> SubtypeDef
fn clone(&self) -> SubtypeDef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubtypeDef
impl Debug for SubtypeDef
Source§impl<'de> Deserialize<'de> for SubtypeDef
impl<'de> Deserialize<'de> for SubtypeDef
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
Source§impl PartialEq for SubtypeDef
impl PartialEq for SubtypeDef
Source§impl Serialize for SubtypeDef
impl Serialize for SubtypeDef
impl StructuralPartialEq for SubtypeDef
Auto Trait Implementations§
impl Freeze for SubtypeDef
impl RefUnwindSafe for SubtypeDef
impl Send for SubtypeDef
impl Sync for SubtypeDef
impl Unpin for SubtypeDef
impl UnsafeUnpin for SubtypeDef
impl UnwindSafe for SubtypeDef
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