pub struct DisbursementSource(pub TransfersAccount);Expand description
The CDP account used to fund the disbursement. The account must be owned by your entity.
JSON schema
{
"description": "The CDP account used to fund the disbursement. The account must be owned by your entity.",
"examples": [
{
"accountId": "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
"asset": "usdc"
}
],
"oneOf": [
{
"$ref": "#/components/schemas/transfers_Account"
}
]
}Tuple Fields§
§0: TransfersAccountTrait Implementations§
Source§impl Clone for DisbursementSource
impl Clone for DisbursementSource
Source§impl Debug for DisbursementSource
impl Debug for DisbursementSource
Source§impl Deref for DisbursementSource
impl Deref for DisbursementSource
Source§type Target = TransfersAccount
type Target = TransfersAccount
The resulting type after dereferencing.
Source§fn deref(&self) -> &TransfersAccount
fn deref(&self) -> &TransfersAccount
Dereferences the value.
Source§impl<'de> Deserialize<'de> for DisbursementSource
impl<'de> Deserialize<'de> for DisbursementSource
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<&DisbursementSource> for DisbursementSource
impl From<&DisbursementSource> for DisbursementSource
Source§fn from(value: &DisbursementSource) -> Self
fn from(value: &DisbursementSource) -> Self
Converts to this type from the input type.
Source§impl From<DisbursementSource> for TransfersAccount
impl From<DisbursementSource> for TransfersAccount
Source§fn from(value: DisbursementSource) -> Self
fn from(value: DisbursementSource) -> Self
Converts to this type from the input type.
Source§impl From<TransfersAccount> for DisbursementSource
impl From<TransfersAccount> for DisbursementSource
Source§fn from(value: TransfersAccount) -> Self
fn from(value: TransfersAccount) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DisbursementSource
impl RefUnwindSafe for DisbursementSource
impl Send for DisbursementSource
impl Sync for DisbursementSource
impl Unpin for DisbursementSource
impl UnsafeUnpin for DisbursementSource
impl UnwindSafe for DisbursementSource
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