pub struct KytAddressExposure {
pub category: Option<String>,
pub direction: Option<String>,
pub exposure_type: Option<String>,
pub value: Option<String>,
}Expand description
KytAddressExposure
JSON schema
{
"type": "object",
"properties": {
"category": {
"description": "DTO.KYT.ADDRESS_EXPOSURE.CATEGORY",
"examples": [
"exchange"
],
"type": "string"
},
"direction": {
"description": "DTO.KYT.ADDRESS_EXPOSURE.DIRECTION",
"examples": [
"both_directions"
],
"type": "string"
},
"exposureType": {
"description": "DTO.KYT.ADDRESS_EXPOSURE.EXPOSURE_TYPE",
"examples": [
"indirect"
],
"type": "string"
},
"value": {
"description": "DTO.KYT.ADDRESS_EXPOSURE.VALUE",
"examples": [
"424895.68594"
],
"type": "string"
}
}
}Fields§
§category: Option<String>DTO.KYT.ADDRESS_EXPOSURE.CATEGORY
direction: Option<String>DTO.KYT.ADDRESS_EXPOSURE.DIRECTION
exposure_type: Option<String>DTO.KYT.ADDRESS_EXPOSURE.EXPOSURE_TYPE
value: Option<String>DTO.KYT.ADDRESS_EXPOSURE.VALUE
Implementations§
Source§impl KytAddressExposure
impl KytAddressExposure
pub fn builder() -> KytAddressExposure
Trait Implementations§
Source§impl Clone for KytAddressExposure
impl Clone for KytAddressExposure
Source§fn clone(&self) -> KytAddressExposure
fn clone(&self) -> KytAddressExposure
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 KytAddressExposure
impl Debug for KytAddressExposure
Source§impl Default for KytAddressExposure
impl Default for KytAddressExposure
Source§impl<'de> Deserialize<'de> for KytAddressExposure
impl<'de> Deserialize<'de> for KytAddressExposure
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<&KytAddressExposure> for KytAddressExposure
impl From<&KytAddressExposure> for KytAddressExposure
Source§fn from(value: &KytAddressExposure) -> Self
fn from(value: &KytAddressExposure) -> Self
Converts to this type from the input type.
Source§impl From<KytAddressExposure> for KytAddressExposure
impl From<KytAddressExposure> for KytAddressExposure
Source§fn from(value: KytAddressExposure) -> Self
fn from(value: KytAddressExposure) -> Self
Converts to this type from the input type.
Source§impl Serialize for KytAddressExposure
impl Serialize for KytAddressExposure
Source§impl TryFrom<KytAddressExposure> for KytAddressExposure
impl TryFrom<KytAddressExposure> for KytAddressExposure
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: KytAddressExposure) -> Result<Self, ConversionError>
fn try_from(value: KytAddressExposure) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KytAddressExposure
impl RefUnwindSafe for KytAddressExposure
impl Send for KytAddressExposure
impl Sync for KytAddressExposure
impl Unpin for KytAddressExposure
impl UnsafeUnpin for KytAddressExposure
impl UnwindSafe for KytAddressExposure
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