pub struct TransfersAccount {
pub account_id: String,
pub asset: Asset,
}Expand description
The Account specific details for the transfer.
JSON schema
{
"title": "Account",
"description": "The Account specific details for the transfer.",
"examples": [
{
"accountId": "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
"asset": "usd"
}
],
"type": "object",
"required": [
"accountId",
"asset"
],
"properties": {
"accountId": {
"description": "The ID of the Account.",
"type": "string"
},
"asset": {
"$ref": "#/components/schemas/Asset"
}
}
}Fields§
§account_id: StringThe ID of the Account.
asset: AssetImplementations§
Source§impl TransfersAccount
impl TransfersAccount
pub fn builder() -> TransfersAccount
Trait Implementations§
Source§impl Clone for TransfersAccount
impl Clone for TransfersAccount
Source§fn clone(&self) -> TransfersAccount
fn clone(&self) -> TransfersAccount
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 TransfersAccount
impl Debug for TransfersAccount
Source§impl<'de> Deserialize<'de> for TransfersAccount
impl<'de> Deserialize<'de> for TransfersAccount
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<&TransfersAccount> for TransfersAccount
impl From<&TransfersAccount> for TransfersAccount
Source§fn from(value: &TransfersAccount) -> Self
fn from(value: &TransfersAccount) -> Self
Converts to this type from the input type.
Source§impl From<TransfersAccount> for CreateTransferSource
impl From<TransfersAccount> for CreateTransferSource
Source§fn from(value: TransfersAccount) -> Self
fn from(value: TransfersAccount) -> Self
Converts to this type from the input type.
Source§impl From<TransfersAccount> for TransferSource
impl From<TransfersAccount> for TransferSource
Source§fn from(value: TransfersAccount) -> Self
fn from(value: TransfersAccount) -> Self
Converts to this type from the input type.
Source§impl From<TransfersAccount> for TransferTarget
impl From<TransfersAccount> for TransferTarget
Source§fn from(value: TransfersAccount) -> Self
fn from(value: TransfersAccount) -> Self
Converts to this type from the input type.
Source§impl From<TransfersAccount> for TransfersAccount
impl From<TransfersAccount> for TransfersAccount
Source§fn from(value: TransfersAccount) -> Self
fn from(value: TransfersAccount) -> Self
Converts to this type from the input type.
Source§impl Serialize for TransfersAccount
impl Serialize for TransfersAccount
Source§impl TryFrom<TransfersAccount> for TransfersAccount
impl TryFrom<TransfersAccount> for TransfersAccount
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TransfersAccount) -> Result<Self, ConversionError>
fn try_from(value: TransfersAccount) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TransfersAccount
impl RefUnwindSafe for TransfersAccount
impl Send for TransfersAccount
impl Sync for TransfersAccount
impl Unpin for TransfersAccount
impl UnsafeUnpin for TransfersAccount
impl UnwindSafe for TransfersAccount
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