pub struct WithdrawOrderAccount {
pub time_lock: TimeLock,
pub amount_base_units: u64,
pub drift_market_index: u16,
pub reduce_only: bool,
pub destination: Pubkey,
}Expand description
Pending withdraw order account stored in Redis.
Fields§
§time_lock: TimeLock§amount_base_units: u64§drift_market_index: u16§reduce_only: bool§destination: PubkeyTrait Implementations§
Source§impl Clone for WithdrawOrderAccount
impl Clone for WithdrawOrderAccount
Source§fn clone(&self) -> WithdrawOrderAccount
fn clone(&self) -> WithdrawOrderAccount
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 WithdrawOrderAccount
impl Debug for WithdrawOrderAccount
Source§impl<'de> Deserialize<'de> for WithdrawOrderAccount
impl<'de> Deserialize<'de> for WithdrawOrderAccount
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
Auto Trait Implementations§
impl Freeze for WithdrawOrderAccount
impl RefUnwindSafe for WithdrawOrderAccount
impl Send for WithdrawOrderAccount
impl Sync for WithdrawOrderAccount
impl Unpin for WithdrawOrderAccount
impl UnsafeUnpin for WithdrawOrderAccount
impl UnwindSafe for WithdrawOrderAccount
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