pub struct DexscrTokenInfo {
pub ad: Option<DexscrAd>,
pub boost: Option<DexscrBoost>,
pub chain: String,
pub link_update: Option<DexscrLinkUpdate>,
pub token_address: String,
}Expand description
Per-token aggregated DexScreener information.
JSON schema
{
"description": "Per-token aggregated DexScreener information.",
"type": "object",
"required": [
"chain",
"tokenAddress"
],
"properties": {
"ad": {
"$ref": "#/components/schemas/DexscrAd"
},
"boost": {
"$ref": "#/components/schemas/DexscrBoost"
},
"chain": {
"description": "ENTITY.DEXSCR_TOKEN_INFO.CHAIN",
"examples": [
"sol"
],
"type": "string"
},
"linkUpdate": {
"$ref": "#/components/schemas/DexscrLinkUpdate"
},
"tokenAddress": {
"description": "ENTITY.DEXSCR_TOKEN_INFO.TOKEN_ADDRESS",
"examples": [
"WCoRVxGcpiwE6EvtDjXHJq6Kcn4nWT9Ubt1PrJHNAzM"
],
"type": "string"
}
}
}Fields§
§ad: Option<DexscrAd>§boost: Option<DexscrBoost>§chain: StringENTITY.DEXSCR_TOKEN_INFO.CHAIN
link_update: Option<DexscrLinkUpdate>§token_address: StringENTITY.DEXSCR_TOKEN_INFO.TOKEN_ADDRESS
Implementations§
Source§impl DexscrTokenInfo
impl DexscrTokenInfo
pub fn builder() -> DexscrTokenInfo
Trait Implementations§
Source§impl Clone for DexscrTokenInfo
impl Clone for DexscrTokenInfo
Source§fn clone(&self) -> DexscrTokenInfo
fn clone(&self) -> DexscrTokenInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DexscrTokenInfo
impl Debug for DexscrTokenInfo
Source§impl<'de> Deserialize<'de> for DexscrTokenInfo
impl<'de> Deserialize<'de> for DexscrTokenInfo
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 From<&DexscrTokenInfo> for DexscrTokenInfo
impl From<&DexscrTokenInfo> for DexscrTokenInfo
Source§fn from(value: &DexscrTokenInfo) -> Self
fn from(value: &DexscrTokenInfo) -> Self
Converts to this type from the input type.
Source§impl From<DexscrTokenInfo> for DexscrTokenInfo
impl From<DexscrTokenInfo> for DexscrTokenInfo
Source§fn from(value: DexscrTokenInfo) -> Self
fn from(value: DexscrTokenInfo) -> Self
Converts to this type from the input type.
Source§impl Serialize for DexscrTokenInfo
impl Serialize for DexscrTokenInfo
Source§impl TryFrom<DexscrTokenInfo> for DexscrTokenInfo
impl TryFrom<DexscrTokenInfo> for DexscrTokenInfo
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DexscrTokenInfo) -> Result<Self, ConversionError>
fn try_from(value: DexscrTokenInfo) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DexscrTokenInfo
impl RefUnwindSafe for DexscrTokenInfo
impl Send for DexscrTokenInfo
impl Sync for DexscrTokenInfo
impl Unpin for DexscrTokenInfo
impl UnsafeUnpin for DexscrTokenInfo
impl UnwindSafe for DexscrTokenInfo
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