pub struct GoPlusSecurityInfo {Show 17 fields
pub available: bool,
pub buy_tax: Option<String>,
pub chain_supported: Option<bool>,
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 last_refreshed_at: Option<String>,
pub lp_holder_count: Option<String>,
pub owner_address: Option<String>,
pub raw: Option<Value>,
pub sell_tax: Option<String>,
pub total_supply: Option<String>,
}Expand description
GoPlusSecurityInfo
JSON schema
{
"type": "object",
"required": [
"available"
],
"properties": {
"available": {
"description": "ENTITY.TOKEN_SECURITY.AVAILABLE",
"examples": [
true
],
"type": "boolean"
},
"buyTax": {
"description": "ENTITY.TOKEN_SECURITY.BUY_TAX",
"type": "string"
},
"chainSupported": {
"description": "ENTITY.TOKEN_SECURITY.CHAIN_SUPPORTED",
"examples": [
true
],
"type": "boolean"
},
"holderCount": {
"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"
},
"lastRefreshedAt": {
"description": "ENTITY.TOKEN_SECURITY.LAST_REFRESHED_AT",
"examples": [
"2026-05-13 18:00:00.000000000 +08:00"
],
"type": "string"
},
"lpHolderCount": {
"type": "string"
},
"ownerAddress": {
"type": "string"
},
"raw": {
"description": "ENTITY.TOKEN_SECURITY.RAW"
},
"sellTax": {
"description": "ENTITY.TOKEN_SECURITY.SELL_TAX",
"type": "string"
},
"totalSupply": {
"type": "string"
}
}
}Fields§
§available: boolENTITY.TOKEN_SECURITY.AVAILABLE
buy_tax: Option<String>ENTITY.TOKEN_SECURITY.BUY_TAX
chain_supported: Option<bool>ENTITY.TOKEN_SECURITY.CHAIN_SUPPORTED
holder_count: Option<String>§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
last_refreshed_at: Option<String>ENTITY.TOKEN_SECURITY.LAST_REFRESHED_AT
lp_holder_count: Option<String>§owner_address: Option<String>§raw: Option<Value>ENTITY.TOKEN_SECURITY.RAW
sell_tax: Option<String>ENTITY.TOKEN_SECURITY.SELL_TAX
total_supply: Option<String>Implementations§
Source§impl GoPlusSecurityInfo
impl GoPlusSecurityInfo
pub fn builder() -> GoPlusSecurityInfo
Trait Implementations§
Source§impl Clone for GoPlusSecurityInfo
impl Clone for GoPlusSecurityInfo
Source§fn clone(&self) -> GoPlusSecurityInfo
fn clone(&self) -> GoPlusSecurityInfo
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 GoPlusSecurityInfo
impl Debug for GoPlusSecurityInfo
Source§impl<'de> Deserialize<'de> for GoPlusSecurityInfo
impl<'de> Deserialize<'de> for GoPlusSecurityInfo
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<&GoPlusSecurityInfo> for GoPlusSecurityInfo
impl From<&GoPlusSecurityInfo> for GoPlusSecurityInfo
Source§fn from(value: &GoPlusSecurityInfo) -> Self
fn from(value: &GoPlusSecurityInfo) -> Self
Converts to this type from the input type.
Source§impl From<GoPlusSecurityInfo> for GoPlusSecurityInfo
impl From<GoPlusSecurityInfo> for GoPlusSecurityInfo
Source§fn from(value: GoPlusSecurityInfo) -> Self
fn from(value: GoPlusSecurityInfo) -> Self
Converts to this type from the input type.
Source§impl Serialize for GoPlusSecurityInfo
impl Serialize for GoPlusSecurityInfo
Source§impl TryFrom<GoPlusSecurityInfo> for GoPlusSecurityInfo
impl TryFrom<GoPlusSecurityInfo> for GoPlusSecurityInfo
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GoPlusSecurityInfo) -> Result<Self, ConversionError>
fn try_from(value: GoPlusSecurityInfo) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GoPlusSecurityInfo
impl RefUnwindSafe for GoPlusSecurityInfo
impl Send for GoPlusSecurityInfo
impl Sync for GoPlusSecurityInfo
impl Unpin for GoPlusSecurityInfo
impl UnsafeUnpin for GoPlusSecurityInfo
impl UnwindSafe for GoPlusSecurityInfo
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