pub trait IdentifiableContract: Encodable {
// Required method
fn contract_id(&self) -> ContractId;
}
Expand description
Anything representing a contract which thus has an associated ContractId
Required Methods§
fn contract_id(&self) -> ContractId
Object Safety§
This trait is not object safe.