Struct scilla_parser::contract::Contract
source · pub struct Contract {
pub name: String,
pub init_params: FieldList,
pub fields: FieldList,
pub transitions: TransitionList,
}Fields§
§name: StringName of the parsed contract
init_params: FieldListList of parameters needed to deploy the contract.
fields: FieldListList of the contract’s fields.
transitions: TransitionListList of the contract’s transitions.
Implementations§
Trait Implementations§
source§impl PartialEq for Contract
impl PartialEq for Contract
impl StructuralPartialEq for Contract
Auto Trait Implementations§
impl RefUnwindSafe for Contract
impl Send for Contract
impl Sync for Contract
impl Unpin for Contract
impl UnwindSafe for Contract
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