pub struct SerializedSecurityInfo {Show 14 fields
pub available: bool,
pub chain_supported: Option<bool>,
pub is_open_source: Option<bool>,
pub is_proxy: Option<bool>,
pub is_renounced: Option<bool>,
pub is_safe: Option<bool>,
pub last_refreshed_at: Option<String>,
pub launchpad_name: Option<String>,
pub owner_address: Option<String>,
pub raw: Option<Value>,
pub source_type: Option<String>,
pub vuln_count: Option<i32>,
pub vuln_critical_count: Option<i32>,
pub vuln_mitigated_count: Option<i32>,
}Expand description
SerializedSecurityInfo
JSON schema
{
"type": "object",
"required": [
"available"
],
"properties": {
"available": {
"description": "Whether data is available from this source",
"examples": [
true
],
"type": "boolean"
},
"chainSupported": {
"description": "Whether this source supports the token chain",
"examples": [
true
],
"type": "boolean"
},
"isOpenSource": {
"description": "Whether the contract is open source",
"type": "boolean"
},
"isProxy": {
"description": "Whether it is a proxy contract",
"type": "boolean"
},
"isRenounced": {
"description": "Whether the contract ownership is renounced",
"type": "boolean"
},
"isSafe": {
"description": "Whether the contract is safe (Serialized Audit verdict)",
"type": "boolean"
},
"lastRefreshedAt": {
"description": "Last refresh timestamp",
"examples": [
"2026-05-13T10:00:00"
],
"type": "string"
},
"launchpadName": {
"description": "Launchpad name",
"type": "string"
},
"ownerAddress": {
"description": "Contract owner address",
"type": "string"
},
"raw": {
"description": "Raw security data from the source"
},
"sourceType": {
"description": "Contract source type (verified/decompiled/none)",
"type": "string"
},
"vulnCount": {
"description": "Total number of vulnerabilities",
"type": "integer",
"format": "int32"
},
"vulnCriticalCount": {
"description": "Number of critical vulnerabilities",
"type": "integer",
"format": "int32"
},
"vulnMitigatedCount": {
"description": "Number of mitigated vulnerabilities",
"type": "integer",
"format": "int32"
}
}
}Fields§
§available: boolWhether data is available from this source
chain_supported: Option<bool>Whether this source supports the token chain
is_open_source: Option<bool>Whether the contract is open source
is_proxy: Option<bool>Whether it is a proxy contract
is_renounced: Option<bool>Whether the contract ownership is renounced
is_safe: Option<bool>Whether the contract is safe (Serialized Audit verdict)
last_refreshed_at: Option<String>Last refresh timestamp
launchpad_name: Option<String>Launchpad name
owner_address: Option<String>Contract owner address
raw: Option<Value>Raw security data from the source
source_type: Option<String>Contract source type (verified/decompiled/none)
vuln_count: Option<i32>Total number of vulnerabilities
vuln_critical_count: Option<i32>Number of critical vulnerabilities
vuln_mitigated_count: Option<i32>Number of mitigated vulnerabilities
Implementations§
Source§impl SerializedSecurityInfo
impl SerializedSecurityInfo
pub fn builder() -> SerializedSecurityInfo
Trait Implementations§
Source§impl Clone for SerializedSecurityInfo
impl Clone for SerializedSecurityInfo
Source§fn clone(&self) -> SerializedSecurityInfo
fn clone(&self) -> SerializedSecurityInfo
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 SerializedSecurityInfo
impl Debug for SerializedSecurityInfo
Source§impl<'de> Deserialize<'de> for SerializedSecurityInfo
impl<'de> Deserialize<'de> for SerializedSecurityInfo
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<&SerializedSecurityInfo> for SerializedSecurityInfo
impl From<&SerializedSecurityInfo> for SerializedSecurityInfo
Source§fn from(value: &SerializedSecurityInfo) -> Self
fn from(value: &SerializedSecurityInfo) -> Self
Converts to this type from the input type.
Source§impl From<SerializedSecurityInfo> for SerializedSecurityInfo
impl From<SerializedSecurityInfo> for SerializedSecurityInfo
Source§fn from(value: SerializedSecurityInfo) -> Self
fn from(value: SerializedSecurityInfo) -> Self
Converts to this type from the input type.
Source§impl Serialize for SerializedSecurityInfo
impl Serialize for SerializedSecurityInfo
Source§impl TryFrom<SerializedSecurityInfo> for SerializedSecurityInfo
impl TryFrom<SerializedSecurityInfo> for SerializedSecurityInfo
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SerializedSecurityInfo) -> Result<Self, ConversionError>
fn try_from(value: SerializedSecurityInfo) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SerializedSecurityInfo
impl RefUnwindSafe for SerializedSecurityInfo
impl Send for SerializedSecurityInfo
impl Sync for SerializedSecurityInfo
impl Unpin for SerializedSecurityInfo
impl UnsafeUnpin for SerializedSecurityInfo
impl UnwindSafe for SerializedSecurityInfo
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