pub struct HoneypotIsSecurityInfo {Show 14 fields
pub available: bool,
pub average_tax: Option<String>,
pub buy_tax: Option<String>,
pub can_not_sell: Option<i32>,
pub can_sell: Option<i32>,
pub chain_supported: Option<bool>,
pub high_tax: Option<String>,
pub honeypot_result: Option<String>,
pub is_honeypot: Option<bool>,
pub is_open_source: Option<bool>,
pub is_renounced: Option<bool>,
pub last_refreshed_at: Option<String>,
pub raw: Option<Value>,
pub sell_tax: Option<String>,
}Expand description
HoneypotIsSecurityInfo
JSON schema
{
"type": "object",
"required": [
"available"
],
"properties": {
"available": {
"examples": [
true
],
"type": "boolean"
},
"averageTax": {
"type": "string"
},
"buyTax": {
"type": "string"
},
"canNotSell": {
"type": "integer",
"format": "int32"
},
"canSell": {
"type": "integer",
"format": "int32"
},
"chainSupported": {
"examples": [
true
],
"type": "boolean"
},
"highTax": {
"type": "string"
},
"honeypotResult": {
"type": "string"
},
"isHoneypot": {
"type": "boolean"
},
"isOpenSource": {
"type": "boolean"
},
"isRenounced": {
"type": "boolean"
},
"lastRefreshedAt": {
"examples": [
"2026-05-13T10:00:00"
],
"type": "string"
},
"raw": {},
"sellTax": {
"type": "string"
}
}
}Fields§
§available: bool§average_tax: Option<String>§buy_tax: Option<String>§can_not_sell: Option<i32>§can_sell: Option<i32>§chain_supported: Option<bool>§high_tax: Option<String>§honeypot_result: Option<String>§is_honeypot: Option<bool>§is_open_source: Option<bool>§is_renounced: Option<bool>§last_refreshed_at: Option<String>§raw: Option<Value>§sell_tax: Option<String>Implementations§
Source§impl HoneypotIsSecurityInfo
impl HoneypotIsSecurityInfo
pub fn builder() -> HoneypotIsSecurityInfo
Trait Implementations§
Source§impl Clone for HoneypotIsSecurityInfo
impl Clone for HoneypotIsSecurityInfo
Source§fn clone(&self) -> HoneypotIsSecurityInfo
fn clone(&self) -> HoneypotIsSecurityInfo
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 HoneypotIsSecurityInfo
impl Debug for HoneypotIsSecurityInfo
Source§impl<'de> Deserialize<'de> for HoneypotIsSecurityInfo
impl<'de> Deserialize<'de> for HoneypotIsSecurityInfo
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<&HoneypotIsSecurityInfo> for HoneypotIsSecurityInfo
impl From<&HoneypotIsSecurityInfo> for HoneypotIsSecurityInfo
Source§fn from(value: &HoneypotIsSecurityInfo) -> Self
fn from(value: &HoneypotIsSecurityInfo) -> Self
Converts to this type from the input type.
Source§impl From<HoneypotIsSecurityInfo> for HoneypotIsSecurityInfo
impl From<HoneypotIsSecurityInfo> for HoneypotIsSecurityInfo
Source§fn from(value: HoneypotIsSecurityInfo) -> Self
fn from(value: HoneypotIsSecurityInfo) -> Self
Converts to this type from the input type.
Source§impl Serialize for HoneypotIsSecurityInfo
impl Serialize for HoneypotIsSecurityInfo
Source§impl TryFrom<HoneypotIsSecurityInfo> for HoneypotIsSecurityInfo
impl TryFrom<HoneypotIsSecurityInfo> for HoneypotIsSecurityInfo
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: HoneypotIsSecurityInfo) -> Result<Self, ConversionError>
fn try_from(value: HoneypotIsSecurityInfo) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for HoneypotIsSecurityInfo
impl RefUnwindSafe for HoneypotIsSecurityInfo
impl Send for HoneypotIsSecurityInfo
impl Sync for HoneypotIsSecurityInfo
impl Unpin for HoneypotIsSecurityInfo
impl UnsafeUnpin for HoneypotIsSecurityInfo
impl UnwindSafe for HoneypotIsSecurityInfo
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