Struct fsnft_utils::ContractInfo [−][src]
pub struct ContractInfo {
pub code_hash: String,
pub address: HumanAddr,
}
Expand description
code hash and address of a contract
Fields
code_hash: String
Contract’s code hash string
address: HumanAddr
Contract’s address in HumanAddr
Trait Implementations
Returns the “default value” for a type. Read more
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
The name of the generated JSON Schema. Read more
Generates a JSON Schema for this type. Read more
fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the $ref
keyword. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ContractInfo
impl Send for ContractInfo
impl Sync for ContractInfo
impl Unpin for ContractInfo
impl UnwindSafe for ContractInfo
Blanket Implementations
Mutably borrows from an owned value. Read more