Struct jet_margin::events::LiquidationBegun
source · [−]pub struct LiquidationBegun {
pub margin_account: Pubkey,
pub liquidator: Pubkey,
pub liquidation: Pubkey,
pub liquidation_data: Liquidation,
pub valuation_summary: ValuationSummary,
}
Fields
margin_account: Pubkey
liquidator: Pubkey
liquidation: Pubkey
liquidation_data: Liquidation
valuation_summary: ValuationSummary
Trait Implementations
sourceimpl BorshDeserialize for LiquidationBegunwhere
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Liquidation: BorshDeserialize,
ValuationSummary: BorshDeserialize,
impl BorshDeserialize for LiquidationBegunwhere
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Liquidation: BorshDeserialize,
ValuationSummary: BorshDeserialize,
sourcefn 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. Read more
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.
sourceimpl BorshSerialize for LiquidationBegunwhere
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Liquidation: BorshSerialize,
ValuationSummary: BorshSerialize,
impl BorshSerialize for LiquidationBegunwhere
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Liquidation: BorshSerialize,
ValuationSummary: BorshSerialize,
sourceimpl Discriminator for LiquidationBegun
impl Discriminator for LiquidationBegun
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for LiquidationBegun
impl Send for LiquidationBegun
impl Sync for LiquidationBegun
impl Unpin for LiquidationBegun
impl UnwindSafe for LiquidationBegun
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more