pub struct WithdrawalBaseResponseDto {
pub address: String,
pub asset: String,
pub asset_amount: String,
pub asset_id: Option<String>,
pub attempt_identifier: String,
pub external_id: String,
pub memo: Option<String>,
pub network: String,
pub updated_at: String,
pub usd_amount: String,
}Expand description
WithdrawalBaseResponseDto
JSON schema
{
"type": "object",
"required": [
"address",
"asset",
"assetAmount",
"assetId",
"attemptIdentifier",
"externalId",
"memo",
"network",
"updatedAt",
"usdAmount"
],
"properties": {
"address": {
"description": "DTO.KYT.WITHDRAWAL_BASE_RESPONSE.ADDRESS",
"examples": [
"1EM4e8eu2S2RQrbS8C6aYnunWpkAwQ8GtG"
],
"type": "string"
},
"asset": {
"description": "DTO.KYT.WITHDRAWAL_BASE_RESPONSE.ASSET",
"examples": [
"BTC"
],
"type": "string"
},
"assetAmount": {
"description": "DTO.KYT.WITHDRAWAL_BASE_RESPONSE.ASSET_AMOUNT",
"examples": [
"5"
],
"type": "string"
},
"assetId": {
"description": "DTO.KYT.WITHDRAWAL_BASE_RESPONSE.ASSET_ID",
"type": [
"string",
"null"
]
},
"attemptIdentifier": {
"description": "DTO.KYT.WITHDRAWAL_BASE_RESPONSE.ATTEMPT_IDENTIFIER",
"examples": [
"attempt1"
],
"type": "string"
},
"externalId": {
"description": "DTO.KYT.WITHDRAWAL_BASE_RESPONSE.EXTERNAL_ID",
"examples": [
"9855b826-2bad-31f2-8a89-96f164293a83"
],
"type": "string"
},
"memo": {
"description": "DTO.KYT.WITHDRAWAL_BASE_RESPONSE.MEMO",
"type": [
"string",
"null"
]
},
"network": {
"description": "DTO.KYT.WITHDRAWAL_BASE_RESPONSE.NETWORK",
"examples": [
"Bitcoin"
],
"type": "string"
},
"updatedAt": {
"description": "DTO.KYT.WITHDRAWAL_BASE_RESPONSE.UPDATED_AT",
"examples": [
"2020-12-09T17:25:40.008307"
],
"type": "string"
},
"usdAmount": {
"description": "DTO.KYT.WITHDRAWAL_BASE_RESPONSE.USD_AMOUNT",
"examples": [
"1000"
],
"type": "string"
}
}
}Fields§
§address: StringDTO.KYT.WITHDRAWAL_BASE_RESPONSE.ADDRESS
asset: StringDTO.KYT.WITHDRAWAL_BASE_RESPONSE.ASSET
asset_amount: StringDTO.KYT.WITHDRAWAL_BASE_RESPONSE.ASSET_AMOUNT
asset_id: Option<String>DTO.KYT.WITHDRAWAL_BASE_RESPONSE.ASSET_ID
attempt_identifier: StringDTO.KYT.WITHDRAWAL_BASE_RESPONSE.ATTEMPT_IDENTIFIER
external_id: StringDTO.KYT.WITHDRAWAL_BASE_RESPONSE.EXTERNAL_ID
memo: Option<String>DTO.KYT.WITHDRAWAL_BASE_RESPONSE.MEMO
network: StringDTO.KYT.WITHDRAWAL_BASE_RESPONSE.NETWORK
updated_at: StringDTO.KYT.WITHDRAWAL_BASE_RESPONSE.UPDATED_AT
usd_amount: StringDTO.KYT.WITHDRAWAL_BASE_RESPONSE.USD_AMOUNT
Implementations§
Source§impl WithdrawalBaseResponseDto
impl WithdrawalBaseResponseDto
pub fn builder() -> WithdrawalBaseResponseDto
Trait Implementations§
Source§impl Clone for WithdrawalBaseResponseDto
impl Clone for WithdrawalBaseResponseDto
Source§fn clone(&self) -> WithdrawalBaseResponseDto
fn clone(&self) -> WithdrawalBaseResponseDto
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 WithdrawalBaseResponseDto
impl Debug for WithdrawalBaseResponseDto
Source§impl<'de> Deserialize<'de> for WithdrawalBaseResponseDto
impl<'de> Deserialize<'de> for WithdrawalBaseResponseDto
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<&WithdrawalBaseResponseDto> for WithdrawalBaseResponseDto
impl From<&WithdrawalBaseResponseDto> for WithdrawalBaseResponseDto
Source§fn from(value: &WithdrawalBaseResponseDto) -> Self
fn from(value: &WithdrawalBaseResponseDto) -> Self
Converts to this type from the input type.
Source§impl From<WithdrawalBaseResponseDto> for WithdrawalBaseResponseDto
impl From<WithdrawalBaseResponseDto> for WithdrawalBaseResponseDto
Source§fn from(value: WithdrawalBaseResponseDto) -> Self
fn from(value: WithdrawalBaseResponseDto) -> Self
Converts to this type from the input type.
Source§impl TryFrom<WithdrawalBaseResponseDto> for WithdrawalBaseResponseDto
impl TryFrom<WithdrawalBaseResponseDto> for WithdrawalBaseResponseDto
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WithdrawalBaseResponseDto) -> Result<Self, ConversionError>
fn try_from(value: WithdrawalBaseResponseDto) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WithdrawalBaseResponseDto
impl RefUnwindSafe for WithdrawalBaseResponseDto
impl Send for WithdrawalBaseResponseDto
impl Sync for WithdrawalBaseResponseDto
impl Unpin for WithdrawalBaseResponseDto
impl UnwindSafe for WithdrawalBaseResponseDto
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