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