pub struct ShiftRemoved {
pub id: u64,
pub ts: i64,
pub slot: u64,
pub store: Pubkey,
pub shift: Pubkey,
pub market_token: Pubkey,
pub owner: Pubkey,
pub state: ActionState,
pub reason: String,
}Expand description
Shift removed event.
Fields§
§id: u64§ts: i64§slot: u64§store: Pubkey§shift: Pubkey§market_token: Pubkey§owner: Pubkey§state: ActionState§reason: StringTrait Implementations§
Source§impl BorshDeserialize for ShiftRemoved
impl BorshDeserialize for ShiftRemoved
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 ShiftRemovedwhere
u64: BorshSerialize,
i64: BorshSerialize,
Pubkey: BorshSerialize,
ActionState: BorshSerialize,
String: BorshSerialize,
impl BorshSerialize for ShiftRemovedwhere
u64: BorshSerialize,
i64: BorshSerialize,
Pubkey: BorshSerialize,
ActionState: BorshSerialize,
String: BorshSerialize,
Source§impl Clone for ShiftRemoved
impl Clone for ShiftRemoved
Source§fn clone(&self) -> ShiftRemoved
fn clone(&self) -> ShiftRemoved
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 ShiftRemoved
impl Debug for ShiftRemoved
Source§impl Discriminator for ShiftRemoved
impl Discriminator for ShiftRemoved
Source§const DISCRIMINATOR: &'static [u8]
const DISCRIMINATOR: &'static [u8]
Discriminator slice. Read more
Auto Trait Implementations§
impl Freeze for ShiftRemoved
impl RefUnwindSafe for ShiftRemoved
impl Send for ShiftRemoved
impl Sync for ShiftRemoved
impl Unpin for ShiftRemoved
impl UnwindSafe for ShiftRemoved
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