Trait orml_traits::location::Parse
source · pub trait Parse {
fn chain_part(&self) -> Option<MultiLocation>;
fn non_chain_part(&self) -> Option<MultiLocation>;
}
Required Methods§
sourcefn chain_part(&self) -> Option<MultiLocation>
fn chain_part(&self) -> Option<MultiLocation>
Returns the “chain” location part. It could be parent, sibling parachain, or child parachain.
sourcefn non_chain_part(&self) -> Option<MultiLocation>
fn non_chain_part(&self) -> Option<MultiLocation>
Returns “non-chain” location part.