pub struct DirectExposureDetail {
pub category_id: i64,
pub name: String,
}Expand description
DirectExposureDetail
JSON schema
{
"type": "object",
"required": [
"categoryId",
"name"
],
"properties": {
"categoryId": {
"description": "DTO.KYT.DIRECT_EXPOSURE_DETAIL.CATEGORY_ID",
"examples": [
17
],
"type": "integer",
"format": "int64"
},
"name": {
"description": "DTO.KYT.DIRECT_EXPOSURE_DETAIL.NAME",
"examples": [
"BitPay.com"
],
"type": "string"
}
}
}Fields§
§category_id: i64DTO.KYT.DIRECT_EXPOSURE_DETAIL.CATEGORY_ID
name: StringDTO.KYT.DIRECT_EXPOSURE_DETAIL.NAME
Implementations§
Source§impl DirectExposureDetail
impl DirectExposureDetail
pub fn builder() -> DirectExposureDetail
Trait Implementations§
Source§impl Clone for DirectExposureDetail
impl Clone for DirectExposureDetail
Source§fn clone(&self) -> DirectExposureDetail
fn clone(&self) -> DirectExposureDetail
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 DirectExposureDetail
impl Debug for DirectExposureDetail
Source§impl<'de> Deserialize<'de> for DirectExposureDetail
impl<'de> Deserialize<'de> for DirectExposureDetail
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<&DirectExposureDetail> for DirectExposureDetail
impl From<&DirectExposureDetail> for DirectExposureDetail
Source§fn from(value: &DirectExposureDetail) -> Self
fn from(value: &DirectExposureDetail) -> Self
Converts to this type from the input type.
Source§impl From<DirectExposureDetail> for DirectExposureDetail
impl From<DirectExposureDetail> for DirectExposureDetail
Source§fn from(value: DirectExposureDetail) -> Self
fn from(value: DirectExposureDetail) -> Self
Converts to this type from the input type.
Source§impl Serialize for DirectExposureDetail
impl Serialize for DirectExposureDetail
Source§impl TryFrom<DirectExposureDetail> for DirectExposureDetail
impl TryFrom<DirectExposureDetail> for DirectExposureDetail
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DirectExposureDetail) -> Result<Self, ConversionError>
fn try_from(value: DirectExposureDetail) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DirectExposureDetail
impl RefUnwindSafe for DirectExposureDetail
impl Send for DirectExposureDetail
impl Sync for DirectExposureDetail
impl Unpin for DirectExposureDetail
impl UnwindSafe for DirectExposureDetail
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