Skip to main content

ToAttributesState

Trait ToAttributesState 

Source
pub trait ToAttributesState {
    // Required method
    fn to_attributes_state(&self) -> Result<Vec<Attribute>, Cw721ContractError>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToAttributesState for Empty

Source§

impl<T> ToAttributesState for Option<T>

Implementors§

Source§

impl ToAttributesState for RoyaltyInfo

Source§

impl<TRoyaltyInfo> ToAttributesState for CollectionExtension<TRoyaltyInfo>
where TRoyaltyInfo: Serialize,