pub enum SettleOp {
Add(u64),
Sub(u64),
Eject,
AssignSlot(String),
}Variants§
Trait Implementations§
source§impl BorshDeserialize for SettleOpwhere
u64: BorshDeserialize,
String: BorshDeserialize,
impl BorshDeserialize for SettleOpwhere u64: BorshDeserialize, String: BorshDeserialize,
source§impl BorshSerialize for SettleOpwhere
u64: BorshSerialize,
String: BorshSerialize,
impl BorshSerialize for SettleOpwhere u64: BorshSerialize, String: BorshSerialize,
source§impl Ord for SettleOp
impl Ord for SettleOp
source§impl PartialEq for SettleOp
impl PartialEq for SettleOp
source§impl PartialOrd for SettleOp
impl PartialOrd for SettleOp
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for SettleOp
impl StructuralEq for SettleOp
impl StructuralPartialEq for SettleOp
Auto Trait Implementations§
impl RefUnwindSafe for SettleOp
impl Send for SettleOp
impl Sync for SettleOp
impl Unpin for SettleOp
impl UnwindSafe for SettleOp
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