Struct concordium_std::schema::ModuleV1
source · pub struct ModuleV1 {
pub contracts: BTreeMap<String, ContractV1>,
}
Expand description
Contains all the contract schemas for a smart contract module V1.
Older versions of smart contracts might have this embedded in the custom
section labelled concordium-schema-v2
.
Fields§
§contracts: BTreeMap<String, ContractV1>
Trait Implementations§
source§impl PartialEq for ModuleV1
impl PartialEq for ModuleV1
impl Eq for ModuleV1
impl StructuralPartialEq for ModuleV1
Auto Trait Implementations§
impl Freeze for ModuleV1
impl RefUnwindSafe for ModuleV1
impl Send for ModuleV1
impl Sync for ModuleV1
impl Unpin for ModuleV1
impl UnwindSafe for ModuleV1
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.