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§
Sourcefn set_id(&mut self, id: Identifier)
fn set_id(&mut self, id: Identifier)
Sets the unique identifier for the data contract.
Sourcefn set_version(&mut self, version: u32)
fn set_version(&mut self, version: u32)
Sets the version of this data contract.
fn increment_version(&mut self)
Sourcefn set_owner_id(&mut self, owner_id: Identifier)
fn set_owner_id(&mut self, owner_id: Identifier)
Sets the identifier of the contract owner.
Sourcefn set_config(&mut self, config: DataContractConfig)
fn set_config(&mut self, config: DataContractConfig)
Sets the internal configuration for the contract.