Struct contract_metadata::ContractMetadata [−][src]
pub struct ContractMetadata {
pub source: Source,
pub contract: Contract,
pub user: Option<User>,
pub abi: Map<String, Value>,
}Expand description
Smart contract metadata.
Fields
source: SourceInformation about the contract’s Wasm code.
contract: ContractMetadata about the contract.
user: Option<User>Additional user-defined metadata.
abi: Map<String, Value>Raw JSON of the contract’s abi metadata, generated during contract compilation.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ContractMetadata
impl Send for ContractMetadata
impl Sync for ContractMetadata
impl Unpin for ContractMetadata
impl UnwindSafe for ContractMetadata
Blanket Implementations
Mutably borrows from an owned value. Read more