Struct concordium_std::schema::ContractV1
source · [−]Expand description
Describes all the schemas of a V1 smart contract. The Default instance produces an empty schema.
Fields
init: Option<Function>receive: BTreeMap<String, Function>Trait Implementations
sourceimpl Clone for ContractV1
impl Clone for ContractV1
sourcefn clone(&self) -> ContractV1
fn clone(&self) -> ContractV1
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ContractV1
impl Debug for ContractV1
sourceimpl Default for ContractV1
impl Default for ContractV1
sourcefn default() -> ContractV1
fn default() -> ContractV1
Returns the “default value” for a type. Read more
sourceimpl Deserial for ContractV1
impl Deserial for ContractV1
sourcefn deserial<R>(source: &mut R) -> Result<ContractV1, ParseError> where
R: Read,
fn deserial<R>(source: &mut R) -> Result<ContractV1, ParseError> where
R: Read,
Attempt to read a structure from a given source, failing if an error occurs during deserialization or reading. Read more
Auto Trait Implementations
impl RefUnwindSafe for ContractV1
impl Send for ContractV1
impl Sync for ContractV1
impl Unpin for ContractV1
impl UnwindSafe for ContractV1
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more