Struct concordium_std::schema::ModuleV0
source · 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§
source§impl PartialEq for ModuleV0
impl PartialEq for ModuleV0
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<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.