pub struct TokenSecuritySummary {Show 14 fields
pub buy_tax: Option<String>,
pub holder_count: Option<String>,
pub is_blacklisted: Option<bool>,
pub is_freezable: Option<bool>,
pub is_honeypot: Option<bool>,
pub is_mintable: Option<bool>,
pub is_open_source: Option<bool>,
pub is_proxy: Option<bool>,
pub is_renounced: Option<bool>,
pub is_show_alert: Option<bool>,
pub lp_holder_count: Option<String>,
pub owner_address: Option<String>,
pub sell_tax: Option<String>,
pub sources_available: Vec<String>,
}Expand description
TokenSecuritySummary
JSON schema
{
"type": "object",
"properties": {
"buyTax": {
"description": "ENTITY.TOKEN.SECURITY.BUY_TAX",
"type": "string"
},
"holderCount": {
"description": "ENTITY.TOKEN.SECURITY.HOLDER_COUNT",
"type": "string"
},
"isBlacklisted": {
"description": "ENTITY.TOKEN.SECURITY.IS_BLACKLISTED",
"type": "boolean"
},
"isFreezable": {
"description": "ENTITY.TOKEN.SECURITY.IS_FREEZABLE",
"type": "boolean"
},
"isHoneypot": {
"description": "ENTITY.TOKEN.SECURITY.IS_HONEYPOT",
"type": "boolean"
},
"isMintable": {
"description": "ENTITY.TOKEN.SECURITY.IS_MINTABLE",
"type": "boolean"
},
"isOpenSource": {
"description": "ENTITY.TOKEN.SECURITY.IS_OPEN_SOURCE",
"type": "boolean"
},
"isProxy": {
"description": "ENTITY.TOKEN.SECURITY.IS_PROXY",
"type": "boolean"
},
"isRenounced": {
"description": "ENTITY.TOKEN.SECURITY.IS_RENOUNCED",
"type": "boolean"
},
"isShowAlert": {
"description": "ENTITY.TOKEN.SECURITY.IS_SHOW_ALERT",
"type": "boolean"
},
"lpHolderCount": {
"description": "ENTITY.TOKEN.SECURITY.LP_HOLDER_COUNT",
"type": "string"
},
"ownerAddress": {
"description": "ENTITY.TOKEN.SECURITY.OWNER_ADDRESS",
"type": "string"
},
"sellTax": {
"description": "ENTITY.TOKEN.SECURITY.SELL_TAX",
"type": "string"
},
"sourcesAvailable": {
"description": "ENTITY.TOKEN.SECURITY.SOURCES_AVAILABLE",
"examples": [
[
"goplus"
]
],
"type": "array",
"items": {
"type": "string"
}
}
}
}Fields§
§buy_tax: Option<String>ENTITY.TOKEN.SECURITY.BUY_TAX
holder_count: Option<String>ENTITY.TOKEN.SECURITY.HOLDER_COUNT
is_blacklisted: Option<bool>ENTITY.TOKEN.SECURITY.IS_BLACKLISTED
is_freezable: Option<bool>ENTITY.TOKEN.SECURITY.IS_FREEZABLE
is_honeypot: Option<bool>ENTITY.TOKEN.SECURITY.IS_HONEYPOT
is_mintable: Option<bool>ENTITY.TOKEN.SECURITY.IS_MINTABLE
is_open_source: Option<bool>ENTITY.TOKEN.SECURITY.IS_OPEN_SOURCE
is_proxy: Option<bool>ENTITY.TOKEN.SECURITY.IS_PROXY
is_renounced: Option<bool>ENTITY.TOKEN.SECURITY.IS_RENOUNCED
is_show_alert: Option<bool>ENTITY.TOKEN.SECURITY.IS_SHOW_ALERT
lp_holder_count: Option<String>ENTITY.TOKEN.SECURITY.LP_HOLDER_COUNT
owner_address: Option<String>ENTITY.TOKEN.SECURITY.OWNER_ADDRESS
sell_tax: Option<String>ENTITY.TOKEN.SECURITY.SELL_TAX
sources_available: Vec<String>ENTITY.TOKEN.SECURITY.SOURCES_AVAILABLE
Implementations§
Source§impl TokenSecuritySummary
impl TokenSecuritySummary
pub fn builder() -> TokenSecuritySummary
Trait Implementations§
Source§impl Clone for TokenSecuritySummary
impl Clone for TokenSecuritySummary
Source§fn clone(&self) -> TokenSecuritySummary
fn clone(&self) -> TokenSecuritySummary
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 TokenSecuritySummary
impl Debug for TokenSecuritySummary
Source§impl Default for TokenSecuritySummary
impl Default for TokenSecuritySummary
Source§impl<'de> Deserialize<'de> for TokenSecuritySummary
impl<'de> Deserialize<'de> for TokenSecuritySummary
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<&TokenSecuritySummary> for TokenSecuritySummary
impl From<&TokenSecuritySummary> for TokenSecuritySummary
Source§fn from(value: &TokenSecuritySummary) -> Self
fn from(value: &TokenSecuritySummary) -> Self
Converts to this type from the input type.
Source§impl From<TokenSecuritySummary> for TokenSecuritySummary
impl From<TokenSecuritySummary> for TokenSecuritySummary
Source§fn from(value: TokenSecuritySummary) -> Self
fn from(value: TokenSecuritySummary) -> Self
Converts to this type from the input type.
Source§impl Serialize for TokenSecuritySummary
impl Serialize for TokenSecuritySummary
Source§impl TryFrom<TokenSecuritySummary> for TokenSecuritySummary
impl TryFrom<TokenSecuritySummary> for TokenSecuritySummary
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TokenSecuritySummary) -> Result<Self, ConversionError>
fn try_from(value: TokenSecuritySummary) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TokenSecuritySummary
impl RefUnwindSafe for TokenSecuritySummary
impl Send for TokenSecuritySummary
impl Sync for TokenSecuritySummary
impl Unpin for TokenSecuritySummary
impl UnsafeUnpin for TokenSecuritySummary
impl UnwindSafe for TokenSecuritySummary
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