Struct move_idl_types::IDLPackage
source · [−]pub struct IDLPackage {
pub name: String,
pub modules: BTreeMap<String, IDLModule>,
pub aliases: BTreeMap<String, AccountAddress>,
pub dependencies: BTreeMap<String, IDLModule>,
pub errors: ErrorMapping,
pub structs: Vec<IDLStruct>,
}Expand description
A set of modules.
Fields
name: StringName of the package.
modules: BTreeMap<String, IDLModule>Modules.
aliases: BTreeMap<String, AccountAddress>Aliases of addresses.
dependencies: BTreeMap<String, IDLModule>Dependent modules.
errors: ErrorMappingError map.
structs: Vec<IDLStruct>All structs.
Trait Implementations
sourceimpl Clone for IDLPackage
impl Clone for IDLPackage
sourcefn clone(&self) -> IDLPackage
fn clone(&self) -> IDLPackage
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 IDLPackage
impl Debug for IDLPackage
sourceimpl<'de> Deserialize<'de> for IDLPackage
impl<'de> Deserialize<'de> for IDLPackage
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for IDLPackage
impl Serialize for IDLPackage
Auto Trait Implementations
impl RefUnwindSafe for IDLPackage
impl Send for IDLPackage
impl Sync for IDLPackage
impl Unpin for IDLPackage
impl UnwindSafe for IDLPackage
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