Struct concordium_std::schema::ContractV3
source · pub struct ContractV3 {
pub init: Option<FunctionV2>,
pub receive: BTreeMap<String, FunctionV2, Global>,
pub event: Option<Type>,
}Expand description
Describes all the schemas of a V1 smart contract with a V3 schema.
The Default instance produces an empty schema.
Fields§
§init: Option<FunctionV2>§receive: BTreeMap<String, FunctionV2, Global>§event: Option<Type>Implementations§
Trait Implementations§
source§impl Clone for ContractV3
impl Clone for ContractV3
source§fn clone(&self) -> ContractV3
fn clone(&self) -> ContractV3
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ContractV3
impl Debug for ContractV3
source§impl Default for ContractV3
impl Default for ContractV3
source§fn default() -> ContractV3
fn default() -> ContractV3
Returns the “default value” for a type. Read more
source§impl Deserial for ContractV3
impl Deserial for ContractV3
source§fn deserial<R>(source: &mut R) -> Result<ContractV3, ParseError>where
R: Read,
fn deserial<R>(source: &mut R) -> Result<ContractV3, ParseError>where R: Read,
Attempt to read a structure from a given source, failing if an error
occurs during deserialization or reading.
source§impl PartialEq<ContractV3> for ContractV3
impl PartialEq<ContractV3> for ContractV3
source§fn eq(&self, other: &ContractV3) -> bool
fn eq(&self, other: &ContractV3) -> bool
This method tests for
self and other values to be equal, and is used
by ==.