pub struct KytRegisterTransferInput {
pub asset: String,
pub direction: TransferDirection,
pub network: KytNetwork,
pub transfer_reference: String,
}Expand description
KytRegisterTransferInput
JSON schema
{
"type": "object",
"required": [
"asset",
"direction",
"network",
"transferReference"
],
"properties": {
"asset": {
"description": "DTO.KYT.KYT_REGISTER_TRANSFER_REQUEST.ASSET",
"examples": [
"SOL"
],
"type": "string"
},
"direction": {
"$ref": "#/components/schemas/TransferDirection"
},
"network": {
"$ref": "#/components/schemas/KytNetwork"
},
"transferReference": {
"description": "DTO.KYT.KYT_REGISTER_TRANSFER_REQUEST.TRANSFER_REFERENCE",
"examples": [
"39z5QAprVrzaFzfHu1JHPgBf9dSqYdNYhH31d3PEd4hWiWL1LML7qCct5MHGxaRAgjjj1nC3XUyLwtzGQmYqUk4y:7xfh4GGMbM3bjpWsTsmBTCfSyuvXFuqnC89fShAqk5Nj"
],
"type": "string"
}
}
}Fields§
§asset: StringDTO.KYT.KYT_REGISTER_TRANSFER_REQUEST.ASSET
direction: TransferDirection§network: KytNetwork§transfer_reference: StringDTO.KYT.KYT_REGISTER_TRANSFER_REQUEST.TRANSFER_REFERENCE
Implementations§
Source§impl KytRegisterTransferInput
impl KytRegisterTransferInput
pub fn builder() -> KytRegisterTransferInput
Trait Implementations§
Source§impl Clone for KytRegisterTransferInput
impl Clone for KytRegisterTransferInput
Source§fn clone(&self) -> KytRegisterTransferInput
fn clone(&self) -> KytRegisterTransferInput
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 KytRegisterTransferInput
impl Debug for KytRegisterTransferInput
Source§impl<'de> Deserialize<'de> for KytRegisterTransferInput
impl<'de> Deserialize<'de> for KytRegisterTransferInput
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<&KytRegisterTransferInput> for KytRegisterTransferInput
impl From<&KytRegisterTransferInput> for KytRegisterTransferInput
Source§fn from(value: &KytRegisterTransferInput) -> Self
fn from(value: &KytRegisterTransferInput) -> Self
Converts to this type from the input type.
Source§impl From<KytRegisterTransferInput> for KytRegisterTransferInput
impl From<KytRegisterTransferInput> for KytRegisterTransferInput
Source§fn from(value: KytRegisterTransferInput) -> Self
fn from(value: KytRegisterTransferInput) -> Self
Converts to this type from the input type.
Source§impl Serialize for KytRegisterTransferInput
impl Serialize for KytRegisterTransferInput
Source§impl TryFrom<KytRegisterTransferInput> for KytRegisterTransferInput
impl TryFrom<KytRegisterTransferInput> for KytRegisterTransferInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: KytRegisterTransferInput) -> Result<Self, ConversionError>
fn try_from(value: KytRegisterTransferInput) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KytRegisterTransferInput
impl RefUnwindSafe for KytRegisterTransferInput
impl Send for KytRegisterTransferInput
impl Sync for KytRegisterTransferInput
impl Unpin for KytRegisterTransferInput
impl UnsafeUnpin for KytRegisterTransferInput
impl UnwindSafe for KytRegisterTransferInput
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