pub struct KytWithdrawalBaseResponse {
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
KytWithdrawalBaseResponse
JSON schema
{
"type": "object",
"required": [
"address",
"asset",
"assetAmount",
"attemptIdentifier",
"externalId",
"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"
},
"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"
},
"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 KytWithdrawalBaseResponse
impl KytWithdrawalBaseResponse
pub fn builder() -> KytWithdrawalBaseResponse
Trait Implementations§
Source§impl Clone for KytWithdrawalBaseResponse
impl Clone for KytWithdrawalBaseResponse
Source§fn clone(&self) -> KytWithdrawalBaseResponse
fn clone(&self) -> KytWithdrawalBaseResponse
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 KytWithdrawalBaseResponse
impl Debug for KytWithdrawalBaseResponse
Source§impl<'de> Deserialize<'de> for KytWithdrawalBaseResponse
impl<'de> Deserialize<'de> for KytWithdrawalBaseResponse
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<&KytWithdrawalBaseResponse> for KytWithdrawalBaseResponse
impl From<&KytWithdrawalBaseResponse> for KytWithdrawalBaseResponse
Source§fn from(value: &KytWithdrawalBaseResponse) -> Self
fn from(value: &KytWithdrawalBaseResponse) -> Self
Converts to this type from the input type.
Source§impl From<KytWithdrawalBaseResponse> for KytWithdrawalBaseResponse
impl From<KytWithdrawalBaseResponse> for KytWithdrawalBaseResponse
Source§fn from(value: KytWithdrawalBaseResponse) -> Self
fn from(value: KytWithdrawalBaseResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<KytWithdrawalBaseResponse> for KytWithdrawalBaseResponse
impl TryFrom<KytWithdrawalBaseResponse> for KytWithdrawalBaseResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: KytWithdrawalBaseResponse) -> Result<Self, ConversionError>
fn try_from(value: KytWithdrawalBaseResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KytWithdrawalBaseResponse
impl RefUnwindSafe for KytWithdrawalBaseResponse
impl Send for KytWithdrawalBaseResponse
impl Sync for KytWithdrawalBaseResponse
impl Unpin for KytWithdrawalBaseResponse
impl UnsafeUnpin for KytWithdrawalBaseResponse
impl UnwindSafe for KytWithdrawalBaseResponse
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