pub struct GraphTypeNodeTypeSpec {
pub alias: Option<SmallName>,
pub identifying_label: SmallName,
pub implied_labels: Vec<SmallName>,
pub properties: Vec<GraphTypePropertyType>,
}Expand description
'(' [alias] (':'|IS) <identifying label> ('=>'|IMPLIES) [(':'|IS) <implied label> ('&' <implied label>)*] ['{' <property types> '}'] ')'
(CIP-178 <node type specification>).
Fields§
§alias: Option<SmallName>§identifying_label: SmallName§implied_labels: Vec<SmallName>§properties: Vec<GraphTypePropertyType>Trait Implementations§
Source§impl Clone for GraphTypeNodeTypeSpec
impl Clone for GraphTypeNodeTypeSpec
Source§impl Debug for GraphTypeNodeTypeSpec
impl Debug for GraphTypeNodeTypeSpec
Source§impl PartialEq for GraphTypeNodeTypeSpec
impl PartialEq for GraphTypeNodeTypeSpec
impl StructuralPartialEq for GraphTypeNodeTypeSpec
Auto Trait Implementations§
impl Forget for GraphTypeNodeTypeSpec
impl Freeze for GraphTypeNodeTypeSpec
impl Move for GraphTypeNodeTypeSpec
impl RefUnwindSafe for GraphTypeNodeTypeSpec
impl Send for GraphTypeNodeTypeSpec
impl Sync for GraphTypeNodeTypeSpec
impl Unpin for GraphTypeNodeTypeSpec
impl UnsafeUnpin for GraphTypeNodeTypeSpec
impl UnwindSafe for GraphTypeNodeTypeSpec
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