pub struct ModuleV0 {
pub contracts: BTreeMap<String, ContractV0>,
}
Expand description
Contains all the contract schemas for a smart contract module V0.
Older versions of smart contracts might have this embedded in the custom
section labelled concordium-schema-v1
.
Fields§
§contracts: BTreeMap<String, ContractV0>
Trait Implementations§
impl Eq for ModuleV0
impl StructuralPartialEq for ModuleV0
Auto Trait Implementations§
impl Freeze for ModuleV0
impl RefUnwindSafe for ModuleV0
impl Send for ModuleV0
impl Sync for ModuleV0
impl Unpin for ModuleV0
impl UnwindSafe for ModuleV0
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D, S> DeserialWithState<S> for Dwhere
D: Deserial,
S: HasStateApi,
impl<D, S> DeserialWithState<S> for Dwhere
D: Deserial,
S: HasStateApi,
Source§fn deserial_with_state<R>(_state: &S, source: &mut R) -> Result<D, ParseError>where
R: Read,
fn deserial_with_state<R>(_state: &S, source: &mut R) -> Result<D, ParseError>where
R: Read,
Attempt to read a structure from a given source and state, failing if
an error occurs during deserialization or reading.