pub struct AlertDetail {
pub alert_amount: String,
pub alert_level: String,
pub category_id: i64,
pub exposure_type: String,
pub external_id: String,
pub memo: Option<String>,
pub service: String,
}Expand description
AlertDetail
JSON schema
{
"type": "object",
"required": [
"alertAmount",
"alertLevel",
"categoryId",
"exposureType",
"externalId",
"memo",
"service"
],
"properties": {
"alertAmount": {
"description": "DTO.KYT.ALERT_DETAIL.ALERT_AMOUNT",
"examples": [
"8868.24"
],
"type": "string"
},
"alertLevel": {
"description": "DTO.KYT.ALERT_DETAIL.ALERT_LEVEL",
"examples": [
"SEVERE"
],
"type": "string"
},
"categoryId": {
"description": "DTO.KYT.ALERT_DETAIL.CATEGORY_ID",
"examples": [
3
],
"type": "integer",
"format": "int64"
},
"exposureType": {
"description": "DTO.KYT.ALERT_DETAIL.EXPOSURE_TYPE",
"examples": [
"DIRECT"
],
"type": "string"
},
"externalId": {
"description": "DTO.KYT.ALERT_DETAIL.EXTERNAL_ID",
"examples": [
"b7d17de0-f890-11ec-83bd-c37b1b9f5365"
],
"type": "string"
},
"memo": {
"description": "DTO.KYT.ALERT_DETAIL.MEMO",
"type": [
"string",
"null"
]
},
"service": {
"description": "DTO.KYT.ALERT_DETAIL.SERVICE",
"examples": [
"OFAC SDN Blender.io 2022-05-06"
],
"type": "string"
}
}
}Fields§
§alert_amount: StringDTO.KYT.ALERT_DETAIL.ALERT_AMOUNT
alert_level: StringDTO.KYT.ALERT_DETAIL.ALERT_LEVEL
category_id: i64DTO.KYT.ALERT_DETAIL.CATEGORY_ID
exposure_type: StringDTO.KYT.ALERT_DETAIL.EXPOSURE_TYPE
external_id: StringDTO.KYT.ALERT_DETAIL.EXTERNAL_ID
memo: Option<String>DTO.KYT.ALERT_DETAIL.MEMO
service: StringDTO.KYT.ALERT_DETAIL.SERVICE
Implementations§
Source§impl AlertDetail
impl AlertDetail
pub fn builder() -> AlertDetail
Trait Implementations§
Source§impl Clone for AlertDetail
impl Clone for AlertDetail
Source§fn clone(&self) -> AlertDetail
fn clone(&self) -> AlertDetail
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 AlertDetail
impl Debug for AlertDetail
Source§impl<'de> Deserialize<'de> for AlertDetail
impl<'de> Deserialize<'de> for AlertDetail
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<&AlertDetail> for AlertDetail
impl From<&AlertDetail> for AlertDetail
Source§fn from(value: &AlertDetail) -> Self
fn from(value: &AlertDetail) -> Self
Converts to this type from the input type.
Source§impl From<AlertDetail> for AlertDetail
impl From<AlertDetail> for AlertDetail
Source§fn from(value: AlertDetail) -> Self
fn from(value: AlertDetail) -> Self
Converts to this type from the input type.
Source§impl Serialize for AlertDetail
impl Serialize for AlertDetail
Source§impl TryFrom<AlertDetail> for AlertDetail
impl TryFrom<AlertDetail> for AlertDetail
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AlertDetail) -> Result<Self, ConversionError>
fn try_from(value: AlertDetail) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AlertDetail
impl RefUnwindSafe for AlertDetail
impl Send for AlertDetail
impl Sync for AlertDetail
impl Unpin for AlertDetail
impl UnwindSafe for AlertDetail
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