pub struct ContractNode {
pub identity: IdentityNode,
pub purpose_statement: PurposeStatementNode,
pub data_semantics: DataSemanticsNode,
pub behavioral_semantics: BehavioralSemanticsNode,
pub execution_constraints: ExecutionConstraintsNode,
pub human_machine_contract: HumanMachineContractNode,
pub extensions: Option<ExtensionsNode>,
pub span: Span,
}Expand description
Root AST node for an ICL contract definition
Fields§
§identity: IdentityNode§purpose_statement: PurposeStatementNode§data_semantics: DataSemanticsNode§behavioral_semantics: BehavioralSemanticsNode§execution_constraints: ExecutionConstraintsNode§human_machine_contract: HumanMachineContractNode§extensions: Option<ExtensionsNode>§span: SpanTrait Implementations§
Source§impl Clone for ContractNode
impl Clone for ContractNode
Source§fn clone(&self) -> ContractNode
fn clone(&self) -> ContractNode
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 ContractNode
impl Debug for ContractNode
Source§impl Display for ContractNode
impl Display for ContractNode
Source§impl PartialEq for ContractNode
impl PartialEq for ContractNode
impl StructuralPartialEq for ContractNode
Auto Trait Implementations§
impl Freeze for ContractNode
impl RefUnwindSafe for ContractNode
impl Send for ContractNode
impl Sync for ContractNode
impl Unpin for ContractNode
impl UnwindSafe for ContractNode
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