pub struct Contract {
pub data_table: DataTable,
pub bytecode: Vec<u8>,
}Expand description
A pact contract It has byte code and an accompanying data section
Fields§
§data_table: DataTable§bytecode: Vec<u8>Implementations§
Trait Implementations§
impl StructuralPartialEq for Contract
Auto Trait Implementations§
impl Freeze for Contract
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