Trait rgb::schema::NodeSchema [−][src]
pub trait NodeSchema { type Action: NodeAction; fn node_type(&self) -> NodeType; fn metadata(&self) -> &MetadataStructure; fn closes(&self) -> &OwnedRightsStructure; fn extends(&self) -> &PublicRightsStructure; fn owned_rights(&self) -> &OwnedRightsStructure; fn public_rights(&self) -> &PublicRightsStructure; fn abi(&self) -> &BTreeMap<Self::Action, Procedure>; }
Expand description
Trait defining common API for all node type schemata
Associated Types
type Action: NodeAction
[src]
Required methods
fn node_type(&self) -> NodeType
[src]
fn metadata(&self) -> &MetadataStructure
[src]
fn closes(&self) -> &OwnedRightsStructure
[src]
fn extends(&self) -> &PublicRightsStructure
[src]
fn owned_rights(&self) -> &OwnedRightsStructure
[src]
fn public_rights(&self) -> &PublicRightsStructure
[src]
fn abi(&self) -> &BTreeMap<Self::Action, Procedure>
[src]
Implementors
impl NodeSchema for ExtensionSchema
[src]
impl NodeSchema for ExtensionSchema
[src]type Action = ExtensionAction
fn node_type(&self) -> NodeType
[src]
fn metadata(&self) -> &MetadataStructure
[src]
fn closes(&self) -> &OwnedRightsStructure
[src]
fn extends(&self) -> &PublicRightsStructure
[src]
fn owned_rights(&self) -> &OwnedRightsStructure
[src]
fn public_rights(&self) -> &PublicRightsStructure
[src]
fn abi(&self) -> &BTreeMap<Self::Action, Procedure>
[src]
impl NodeSchema for GenesisSchema
[src]
impl NodeSchema for GenesisSchema
[src]type Action = GenesisAction
fn node_type(&self) -> NodeType
[src]
fn metadata(&self) -> &MetadataStructure
[src]
fn closes(&self) -> &OwnedRightsStructure
[src]
fn extends(&self) -> &PublicRightsStructure
[src]
fn owned_rights(&self) -> &OwnedRightsStructure
[src]
fn public_rights(&self) -> &PublicRightsStructure
[src]
fn abi(&self) -> &BTreeMap<Self::Action, Procedure>
[src]
impl NodeSchema for TransitionSchema
[src]
impl NodeSchema for TransitionSchema
[src]