pub struct KytRegisterWithdrawalInput {
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: KytNetwork,
}Expand description
KytRegisterWithdrawalInput
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"
},
"assetId": {
"description": "DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ASSET_ID",
"type": "string"
},
"assetPrice": {
"description": "DTO.KYT.KYT_REGISTER_WITHDRAWAL_REQUEST.ASSET_PRICE",
"examples": [
"1000"
],
"type": "string"
},
"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"
},
"network": {
"$ref": "#/components/schemas/KytNetwork"
}
}
}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: KytNetworkImplementations§
Source§impl KytRegisterWithdrawalInput
impl KytRegisterWithdrawalInput
pub fn builder() -> KytRegisterWithdrawalInput
Trait Implementations§
Source§impl Clone for KytRegisterWithdrawalInput
impl Clone for KytRegisterWithdrawalInput
Source§fn clone(&self) -> KytRegisterWithdrawalInput
fn clone(&self) -> KytRegisterWithdrawalInput
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 KytRegisterWithdrawalInput
impl Debug for KytRegisterWithdrawalInput
Source§impl<'de> Deserialize<'de> for KytRegisterWithdrawalInput
impl<'de> Deserialize<'de> for KytRegisterWithdrawalInput
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<&KytRegisterWithdrawalInput> for KytRegisterWithdrawalInput
impl From<&KytRegisterWithdrawalInput> for KytRegisterWithdrawalInput
Source§fn from(value: &KytRegisterWithdrawalInput) -> Self
fn from(value: &KytRegisterWithdrawalInput) -> Self
Converts to this type from the input type.
Source§impl From<KytRegisterWithdrawalInput> for KytRegisterWithdrawalInput
impl From<KytRegisterWithdrawalInput> for KytRegisterWithdrawalInput
Source§fn from(value: KytRegisterWithdrawalInput) -> Self
fn from(value: KytRegisterWithdrawalInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<KytRegisterWithdrawalInput> for KytRegisterWithdrawalInput
impl TryFrom<KytRegisterWithdrawalInput> for KytRegisterWithdrawalInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: KytRegisterWithdrawalInput) -> Result<Self, ConversionError>
fn try_from(value: KytRegisterWithdrawalInput) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KytRegisterWithdrawalInput
impl RefUnwindSafe for KytRegisterWithdrawalInput
impl Send for KytRegisterWithdrawalInput
impl Sync for KytRegisterWithdrawalInput
impl Unpin for KytRegisterWithdrawalInput
impl UnsafeUnpin for KytRegisterWithdrawalInput
impl UnwindSafe for KytRegisterWithdrawalInput
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