Module xcm::v2::prelude[][src]

Expand description

A prelude for importing all types typically used when interacting with XCM messages.

Re-exports

pub use super::Instruction;
pub use super::Xcm;
pub use super::super::AssetId::*;
pub use super::super::AssetInstance::*;
pub use super::super::Fungibility::*;
pub use super::super::Instruction::*;
pub use super::super::Junction::*;
pub use super::super::Junctions::*;
pub use super::super::MultiAssetFilter::*;
pub use super::super::NetworkId::*;
pub use super::super::OriginKind;
pub use super::super::QueryId;
pub use super::super::Response;
pub use super::super::WeightLimit;
pub use super::super::WeightLimit::*;
pub use super::super::WildFungibility::Fungible as WildFungible;
pub use super::super::WildFungibility::NonFungible as WildNonFungible;
pub use super::super::WildMultiAsset::*;
pub use super::super::VERSION as XCM_VERSION;

Modules

Structs

A unit struct which can be converted into a MultiLocation of the inner parents value.

A unit struct which can be converted into a MultiLocation of the inner parents value and the inner interior.

A Vec of MultiAssets. There may be no duplicate fungible items in here and when decoding, they must be sorted.

A relative path between state-bearing consensus systems.

A unit struct which can be converted into a MultiLocation of parents value 1.

A tuple struct which can be converted into a MultiLocation of parents value 1 with the inner interior.

Enums

Classification of an asset being concrete or abstract.

A general identifier for an instance of a non-fungible asset class.

An identifier of a pluralistic body.

A part of a pluralistic body.

Classification of whether an asset is fungible or not, along with a mandatory amount or instance.

A single item in a path to describe the relative location of a consensus system.

Non-parent junctions that can be constructed, up to the length of 8. This specific Junctions implementation uses a Rust enum in order to make pattern matching easier.

MultiAsset collection, either MultiAssets or a single wildcard.

A global identifier of an account-bearing consensus system.

Outcome of an XCM execution.

Error result value when attempting to send an XCM message.

Classification of whether an asset is fungible or not.

A wildcard representing a set of assets.

Traits

Type of XCM message executor.

Utility for sending an XCM message.

The info needed to weight an XCM.

Type Definitions

A relative location which is constrained to be an interior location of the context.

Result value when attempting to send an XCM message.