pub struct KytAddressRiskResponse {
pub address: String,
pub address_identifications: Vec<Value>,
pub address_type: Option<String>,
pub cluster: Map<String, Value>,
pub exposures: Vec<KytAddressExposure>,
pub risk: Option<String>,
pub risk_reason: Option<String>,
pub status: Option<String>,
pub triggers: Vec<Value>,
}Expand description
KytAddressRiskResponse
JSON schema
{
"type": "object",
"required": [
"address"
],
"properties": {
"address": {
"description": "DTO.KYT.ADDRESS_RISK_RESPONSE.ADDRESS",
"examples": [
1.2638660031056791e45
],
"type": "string"
},
"addressIdentifications": {
"description": "DTO.KYT.ADDRESS_RISK_RESPONSE.ADDRESS_IDENTIFICATIONS",
"type": "array",
"items": {}
},
"addressType": {
"description": "DTO.KYT.ADDRESS_RISK_RESPONSE.ADDRESS_TYPE",
"examples": [
"PRIVATE_WALLET"
],
"type": "string"
},
"cluster": {
"description": "DTO.KYT.ADDRESS_RISK_RESPONSE.CLUSTER",
"type": "object"
},
"exposures": {
"description": "DTO.KYT.ADDRESS_RISK_RESPONSE.EXPOSURES",
"type": "array",
"items": {
"$ref": "#/components/schemas/KytAddressExposure"
}
},
"risk": {
"description": "DTO.KYT.ADDRESS_RISK_RESPONSE.RISK",
"examples": [
"Low"
],
"type": "string"
},
"riskReason": {
"description": "DTO.KYT.ADDRESS_RISK_RESPONSE.RISK_REASON",
"type": "string"
},
"status": {
"description": "DTO.KYT.ADDRESS_RISK_RESPONSE.STATUS",
"examples": [
"COMPLETE"
],
"type": "string"
},
"triggers": {
"description": "DTO.KYT.ADDRESS_RISK_RESPONSE.TRIGGERS",
"type": "array",
"items": {}
}
}
}Fields§
§address: StringDTO.KYT.ADDRESS_RISK_RESPONSE.ADDRESS
address_identifications: Vec<Value>DTO.KYT.ADDRESS_RISK_RESPONSE.ADDRESS_IDENTIFICATIONS
address_type: Option<String>DTO.KYT.ADDRESS_RISK_RESPONSE.ADDRESS_TYPE
cluster: Map<String, Value>DTO.KYT.ADDRESS_RISK_RESPONSE.CLUSTER
exposures: Vec<KytAddressExposure>DTO.KYT.ADDRESS_RISK_RESPONSE.EXPOSURES
risk: Option<String>DTO.KYT.ADDRESS_RISK_RESPONSE.RISK
risk_reason: Option<String>DTO.KYT.ADDRESS_RISK_RESPONSE.RISK_REASON
status: Option<String>DTO.KYT.ADDRESS_RISK_RESPONSE.STATUS
triggers: Vec<Value>DTO.KYT.ADDRESS_RISK_RESPONSE.TRIGGERS
Implementations§
Source§impl KytAddressRiskResponse
impl KytAddressRiskResponse
pub fn builder() -> KytAddressRiskResponse
Trait Implementations§
Source§impl Clone for KytAddressRiskResponse
impl Clone for KytAddressRiskResponse
Source§fn clone(&self) -> KytAddressRiskResponse
fn clone(&self) -> KytAddressRiskResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 KytAddressRiskResponse
impl Debug for KytAddressRiskResponse
Source§impl<'de> Deserialize<'de> for KytAddressRiskResponse
impl<'de> Deserialize<'de> for KytAddressRiskResponse
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<&KytAddressRiskResponse> for KytAddressRiskResponse
impl From<&KytAddressRiskResponse> for KytAddressRiskResponse
Source§fn from(value: &KytAddressRiskResponse) -> Self
fn from(value: &KytAddressRiskResponse) -> Self
Converts to this type from the input type.
Source§impl From<KytAddressRiskResponse> for KytAddressRiskResponse
impl From<KytAddressRiskResponse> for KytAddressRiskResponse
Source§fn from(value: KytAddressRiskResponse) -> Self
fn from(value: KytAddressRiskResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for KytAddressRiskResponse
impl Serialize for KytAddressRiskResponse
Source§impl TryFrom<KytAddressRiskResponse> for KytAddressRiskResponse
impl TryFrom<KytAddressRiskResponse> for KytAddressRiskResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: KytAddressRiskResponse) -> Result<Self, ConversionError>
fn try_from(value: KytAddressRiskResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KytAddressRiskResponse
impl RefUnwindSafe for KytAddressRiskResponse
impl Send for KytAddressRiskResponse
impl Sync for KytAddressRiskResponse
impl Unpin for KytAddressRiskResponse
impl UnsafeUnpin for KytAddressRiskResponse
impl UnwindSafe for KytAddressRiskResponse
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