pub struct KytRegisterWithdrawalRequest {
pub address: String,
pub asset: String,
pub asset_amount: String,
pub asset_denomination: Option<String>,
pub asset_id: Option<String>,
pub asset_price: Option<String>,
pub attempt_timestamp: String,
pub memo: Option<String>,
pub network: KytRegisterWithdrawalRequestNetwork,
}Expand description
KytRegisterWithdrawalRequest
JSON schema
{
"type": "object",
"required": [
"address",
"asset",
"assetAmount",
"attemptTimestamp",
"network"
],
"properties": {
"address": {
"description": "DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ADDRESS",
"examples": [
"D1Mc6j9xQWgR1o1Z7yU5nVVXFQiAYx7FG9AW1aVfwrUM"
],
"type": "string"
},
"asset": {
"description": "DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ASSET",
"examples": [
"SOL"
],
"type": "string"
},
"assetAmount": {
"description": "DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ASSET_AMOUNT",
"examples": [
"5"
],
"type": "string"
},
"assetDenomination": {
"description": "DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ASSET_DENOMINATION",
"examples": [
"USD"
],
"type": [
"string",
"null"
]
},
"assetId": {
"description": "DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ASSET_ID",
"type": [
"string",
"null"
]
},
"assetPrice": {
"description": "DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ASSET_PRICE",
"examples": [
"1000"
],
"type": [
"string",
"null"
]
},
"attemptTimestamp": {
"description": "DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ATTEMPT_TIMESTAMP",
"examples": [
"2026-01-04T17:25:40.008307"
],
"type": "string"
},
"memo": {
"description": "DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.MEMO",
"type": [
"string",
"null"
]
},
"network": {
"description": "DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.NETWORK",
"examples": [
"Solana"
],
"type": "string",
"enum": [
"bitcoin",
"ethereum",
"Solana"
]
}
}
}Fields§
§address: StringDTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ADDRESS
asset: StringDTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ASSET
asset_amount: StringDTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ASSET_AMOUNT
asset_denomination: Option<String>DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ASSET_DENOMINATION
asset_id: Option<String>DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ASSET_ID
asset_price: Option<String>DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ASSET_PRICE
attempt_timestamp: StringDTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ATTEMPT_TIMESTAMP
memo: Option<String>DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.MEMO
network: KytRegisterWithdrawalRequestNetworkDTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.NETWORK
Implementations§
Trait Implementations§
Source§impl Clone for KytRegisterWithdrawalRequest
impl Clone for KytRegisterWithdrawalRequest
Source§fn clone(&self) -> KytRegisterWithdrawalRequest
fn clone(&self) -> KytRegisterWithdrawalRequest
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 KytRegisterWithdrawalRequest
impl Debug for KytRegisterWithdrawalRequest
Source§impl<'de> Deserialize<'de> for KytRegisterWithdrawalRequest
impl<'de> Deserialize<'de> for KytRegisterWithdrawalRequest
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<&KytRegisterWithdrawalRequest> for KytRegisterWithdrawalRequest
impl From<&KytRegisterWithdrawalRequest> for KytRegisterWithdrawalRequest
Source§fn from(value: &KytRegisterWithdrawalRequest) -> Self
fn from(value: &KytRegisterWithdrawalRequest) -> Self
Converts to this type from the input type.
Source§impl From<KytRegisterWithdrawalRequest> for KytRegisterWithdrawalRequest
impl From<KytRegisterWithdrawalRequest> for KytRegisterWithdrawalRequest
Source§fn from(value: KytRegisterWithdrawalRequest) -> Self
fn from(value: KytRegisterWithdrawalRequest) -> Self
Converts to this type from the input type.
Source§impl TryFrom<KytRegisterWithdrawalRequest> for KytRegisterWithdrawalRequest
impl TryFrom<KytRegisterWithdrawalRequest> for KytRegisterWithdrawalRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: KytRegisterWithdrawalRequest,
) -> Result<Self, ConversionError>
fn try_from( value: KytRegisterWithdrawalRequest, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KytRegisterWithdrawalRequest
impl RefUnwindSafe for KytRegisterWithdrawalRequest
impl Send for KytRegisterWithdrawalRequest
impl Sync for KytRegisterWithdrawalRequest
impl Unpin for KytRegisterWithdrawalRequest
impl UnwindSafe for KytRegisterWithdrawalRequest
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