DataContractV0Setters

Trait DataContractV0Setters 

Source
pub trait DataContractV0Setters {
    // Required methods
    fn set_id(&mut self, id: Identifier);
    fn set_version(&mut self, version: u32);
    fn increment_version(&mut self);
    fn set_owner_id(&mut self, owner_id: Identifier);
    fn set_config(&mut self, config: DataContractConfig);
}

Required Methods§

Source

fn set_id(&mut self, id: Identifier)

Sets the unique identifier for the data contract.

Source

fn set_version(&mut self, version: u32)

Sets the version of this data contract.

Source

fn increment_version(&mut self)

Source

fn set_owner_id(&mut self, owner_id: Identifier)

Sets the identifier of the contract owner.

Source

fn set_config(&mut self, config: DataContractConfig)

Sets the internal configuration for the contract.

Implementors§