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": "Address",
"examples": [
"1EM4e8eu2S2RQrbS8C6aYnunWpkAwQ8GtG"
],
"type": "string"
},
"asset": {
"description": "Asset type",
"examples": [
"BTC"
],
"type": "string"
},
"assetAmount": {
"description": "Asset amount",
"examples": [
"5"
],
"type": "string"
},
"assetId": {
"description": "Asset ID",
"type": "string"
},
"attemptIdentifier": {
"description": "Attempt identifier",
"examples": [
"attempt1"
],
"type": "string"
},
"externalId": {
"description": "External ID (UUID)",
"examples": [
"9855b826-2bad-31f2-8a89-96f164293a83"
],
"type": "string"
},
"memo": {
"description": "Memo information",
"type": "string"
},
"network": {
"description": "Blockchain network",
"examples": [
"Bitcoin"
],
"type": "string"
},
"updatedAt": {
"description": "Updated timestamp",
"examples": [
"2020-12-09T17:25:40.008307"
],
"type": "string"
},
"usdAmount": {
"description": "USD amount",
"examples": [
"1000"
],
"type": "string"
}
}
}Fields§
§address: StringAddress
asset: StringAsset type
asset_amount: StringAsset amount
asset_id: Option<String>Asset ID
attempt_identifier: StringAttempt identifier
external_id: StringExternal ID (UUID)
memo: Option<String>Memo information
network: StringBlockchain network
updated_at: StringUpdated timestamp
usd_amount: StringUSD 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 (const: unstable) · 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