Enum concordium_std::schema::FunctionV1
source · pub enum FunctionV1 {
Parameter(Type),
ReturnValue(Type),
Both {
parameter: Type,
return_value: Type,
},
}
Expand description
Describes the schema of an init or a receive function for V1 contracts with V1 schemas.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for FunctionV1
impl Clone for FunctionV1
source§fn clone(&self) -> FunctionV1
fn clone(&self) -> FunctionV1
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 FunctionV1
impl Debug for FunctionV1
source§impl Deserial for FunctionV1
impl Deserial for FunctionV1
source§fn deserial<R>(source: &mut R) -> Result<FunctionV1, ParseError>where
R: Read,
fn deserial<R>(source: &mut R) -> Result<FunctionV1, ParseError>where
R: Read,
Attempt to read a structure from a given source, failing if an error
occurs during deserialization or reading. Read more