pub struct NftAttribute {
pub trait_type: String,
pub value: String,
}Expand description
An NFT attribute (trait).
Fields§
§trait_type: StringTrait type/name.
value: StringTrait value.
Trait Implementations§
Source§impl Clone for NftAttribute
impl Clone for NftAttribute
Source§impl Debug for NftAttribute
impl Debug for NftAttribute
Source§impl<'de> Deserialize<'de> for NftAttribute
impl<'de> Deserialize<'de> for NftAttribute
Source§fn 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
Auto Trait Implementations§
impl Freeze for NftAttribute
impl RefUnwindSafe for NftAttribute
impl Send for NftAttribute
impl Sync for NftAttribute
impl Unpin for NftAttribute
impl UnsafeUnpin for NftAttribute
impl UnwindSafe for NftAttribute
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more