pub struct TokenProfile {
pub url: String,
pub chain_id: String,
pub token_address: String,
pub icon: String,
pub header: Option<String>,
pub description: Option<String>,
pub links: Option<Vec<TokenLink>>,
}Expand description
Token profile information (new v1 endpoint)
Fields§
§url: StringURL to the token profile page
chain_id: StringChain identifier
token_address: StringToken address
icon: StringToken icon URL
header: Option<String>Header image URL (optional)
description: Option<String>Token description (optional)
links: Option<Vec<TokenLink>>Social and website links (optional)
Trait Implementations§
Source§impl Clone for TokenProfile
impl Clone for TokenProfile
Source§fn clone(&self) -> TokenProfile
fn clone(&self) -> TokenProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TokenProfile
impl Debug for TokenProfile
Source§impl<'de> Deserialize<'de> for TokenProfile
impl<'de> Deserialize<'de> for TokenProfile
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 TokenProfile
impl RefUnwindSafe for TokenProfile
impl Send for TokenProfile
impl Sync for TokenProfile
impl Unpin for TokenProfile
impl UnwindSafe for TokenProfile
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