pub struct TokenAttribute {
pub trait_type: Option<String>,
pub value: Option<String>,
}Fields§
§trait_type: Option<String>The key or kind of trait.
value: Option<String>A distinct attribute belonging to a particular type of trait.
Trait Implementations§
Source§impl Debug for TokenAttribute
impl Debug for TokenAttribute
Source§impl Default for TokenAttribute
impl Default for TokenAttribute
Source§fn default() -> TokenAttribute
fn default() -> TokenAttribute
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TokenAttribute
impl<'de> Deserialize<'de> for TokenAttribute
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
Source§impl Display for TokenAttribute
impl Display for TokenAttribute
Auto Trait Implementations§
impl Freeze for TokenAttribute
impl RefUnwindSafe for TokenAttribute
impl Send for TokenAttribute
impl Sync for TokenAttribute
impl Unpin for TokenAttribute
impl UnwindSafe for TokenAttribute
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