pub struct ModuleV2 {
pub contracts: BTreeMap<String, ContractV2>,
}
Expand description
Contains all the contract schemas for a smart contract module V1 with a V2 schema.
Fields§
§contracts: BTreeMap<String, ContractV2>
Trait Implementations§
impl Eq for ModuleV2
impl StructuralPartialEq for ModuleV2
Auto Trait Implementations§
impl Freeze for ModuleV2
impl RefUnwindSafe for ModuleV2
impl Send for ModuleV2
impl Sync for ModuleV2
impl Unpin for ModuleV2
impl UnwindSafe for ModuleV2
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.