referrerpolicy=no-referrer-when-downgrade
polkadot_sdk_frame::token

Trait AssetId

pub trait AssetId:
    FullCodec
    + DecodeWithMemTracking
    + Clone
    + Eq
    + PartialEq
    + Debug
    + TypeInfo
    + MaxEncodedLen { }
Expand description

Simple amalgamation trait to collect together properties for an AssetId under one roof.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl<T> AssetId for T
where T: FullCodec + DecodeWithMemTracking + Clone + Eq + PartialEq + Debug + TypeInfo + MaxEncodedLen,