pub struct PendingWithdraw {
pub discriminator: AccountDiscriminator,
pub padding1: [u8; 5],
pub bump: u8,
pub withdraw_index: u8,
pub unstaker: Pubkey,
pub withdrawable_orca_amount: u64,
pub withdrawable_timestamp: i64,
pub padding2: [u8; 968],
}Fields§
§discriminator: AccountDiscriminator§padding1: [u8; 5]§bump: u8§withdraw_index: u8§unstaker: Pubkey§withdrawable_orca_amount: u64§withdrawable_timestamp: i64§padding2: [u8; 968]Implementations§
Trait Implementations§
Source§impl BorshDeserialize for PendingWithdrawwhere
AccountDiscriminator: BorshDeserialize,
[u8; 5]: BorshDeserialize,
u8: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
i64: BorshDeserialize,
[u8; 968]: BorshDeserialize,
impl BorshDeserialize for PendingWithdrawwhere
AccountDiscriminator: BorshDeserialize,
[u8; 5]: BorshDeserialize,
u8: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
i64: BorshDeserialize,
[u8; 968]: BorshDeserialize,
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for PendingWithdrawwhere
AccountDiscriminator: BorshSerialize,
[u8; 5]: BorshSerialize,
u8: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
[u8; 968]: BorshSerialize,
impl BorshSerialize for PendingWithdrawwhere
AccountDiscriminator: BorshSerialize,
[u8; 5]: BorshSerialize,
u8: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
[u8; 968]: BorshSerialize,
Source§impl Clone for PendingWithdraw
impl Clone for PendingWithdraw
Source§fn clone(&self) -> PendingWithdraw
fn clone(&self) -> PendingWithdraw
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 PendingWithdraw
impl Debug for PendingWithdraw
Source§impl PartialEq for PendingWithdraw
impl PartialEq for PendingWithdraw
Source§impl<'a> TryFrom<&AccountInfo<'a>> for PendingWithdraw
impl<'a> TryFrom<&AccountInfo<'a>> for PendingWithdraw
impl Eq for PendingWithdraw
impl StructuralPartialEq for PendingWithdraw
Auto Trait Implementations§
impl Freeze for PendingWithdraw
impl RefUnwindSafe for PendingWithdraw
impl Send for PendingWithdraw
impl Sync for PendingWithdraw
impl Unpin for PendingWithdraw
impl UnwindSafe for PendingWithdraw
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