pub struct WithdrawalRequest {
pub op_id: u64,
pub amount: u128,
pub receiver: Address,
pub owner: Address,
pub escrow_shares: u128,
}Expand description
Request for a withdrawal operation.
Fields§
§op_id: u64Unique operation ID.
amount: u128Amount of assets to withdraw.
receiver: AddressReceiver of the assets.
owner: AddressOwner of the shares being redeemed.
Shares held in escrow for this withdrawal.
Trait Implementations§
Source§impl Clone for WithdrawalRequest
impl Clone for WithdrawalRequest
Source§fn clone(&self) -> WithdrawalRequest
fn clone(&self) -> WithdrawalRequest
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 WithdrawalRequest
impl Debug for WithdrawalRequest
Source§impl PartialEq for WithdrawalRequest
impl PartialEq for WithdrawalRequest
impl Eq for WithdrawalRequest
impl StructuralPartialEq for WithdrawalRequest
Auto Trait Implementations§
impl Freeze for WithdrawalRequest
impl RefUnwindSafe for WithdrawalRequest
impl Send for WithdrawalRequest
impl Sync for WithdrawalRequest
impl Unpin for WithdrawalRequest
impl UnwindSafe for WithdrawalRequest
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