pub enum DepositWithdrawResponse {
Cursor(DepositWithdrawalCursor),
Response(Vec<DepositWithdrawal>),
}
Expand description
Response type for status of a deposit or withdrawal
Response can either be bare (Response) or be a wrapper containing a cursor for the next page (Cursor)
Variants§
Cursor(DepositWithdrawalCursor)
Response(Vec<DepositWithdrawal>)
Trait Implementations§
Source§impl Clone for DepositWithdrawResponse
impl Clone for DepositWithdrawResponse
Source§fn clone(&self) -> DepositWithdrawResponse
fn clone(&self) -> DepositWithdrawResponse
Returns a copy 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 DepositWithdrawResponse
impl Debug for DepositWithdrawResponse
Source§impl<'de> Deserialize<'de> for DepositWithdrawResponse
impl<'de> Deserialize<'de> for DepositWithdrawResponse
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 PartialEq for DepositWithdrawResponse
impl PartialEq for DepositWithdrawResponse
impl StructuralPartialEq for DepositWithdrawResponse
Auto Trait Implementations§
impl Freeze for DepositWithdrawResponse
impl RefUnwindSafe for DepositWithdrawResponse
impl Send for DepositWithdrawResponse
impl Sync for DepositWithdrawResponse
impl Unpin for DepositWithdrawResponse
impl UnwindSafe for DepositWithdrawResponse
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