pub enum StoreCPIEvent {
Show 18 variants
DepositExecuted(DepositExecuted),
DepositRemoved(DepositRemoved),
WithdrawalExecuted(WithdrawalExecuted),
WithdrawalRemoved(WithdrawalRemoved),
ShiftRemoved(ShiftRemoved),
GlvDepositRemoved(GlvDepositRemoved),
GlvWithdrawalRemoved(GlvWithdrawalRemoved),
GlvPricing(GlvPricing),
PositionIncreased(PositionIncreased),
PositionDecreased(PositionDecreased),
OrderRemoved(OrderRemoved),
TradeEvent(TradeEvent),
MarketFeesUpdated(MarketFeesUpdated),
BorrowingFeesUpdated(BorrowingFeesUpdated),
MarketStateUpdated(MarketStateUpdated),
SwapExecuted(SwapExecuted),
GtUpdated(GtUpdated),
UnknownOwnedData(UnknownOwnedData),
}
Expand description
A untagged decodable enum GMSOLCPIEvent
.
Variants§
DepositExecuted(DepositExecuted)
Variant DepositExecuted
.
DepositRemoved(DepositRemoved)
Variant DepositRemoved
.
WithdrawalExecuted(WithdrawalExecuted)
Variant WithdrawalExecuted
.
WithdrawalRemoved(WithdrawalRemoved)
Variant WithdrawalRemoved
.
ShiftRemoved(ShiftRemoved)
Variant ShiftRemoved
.
GlvDepositRemoved(GlvDepositRemoved)
Variant GlvDepositRemoved
.
GlvWithdrawalRemoved(GlvWithdrawalRemoved)
Variant GlvWithdrawalRemoved
.
GlvPricing(GlvPricing)
Variant GlvPricing
.
PositionIncreased(PositionIncreased)
Variant PositionIncreased
.
PositionDecreased(PositionDecreased)
Variant PositionDecreased
.
OrderRemoved(OrderRemoved)
Variant OrderRemoved
.
TradeEvent(TradeEvent)
Variant TradeEvent
.
MarketFeesUpdated(MarketFeesUpdated)
Variant MarketFeesUpdated
.
BorrowingFeesUpdated(BorrowingFeesUpdated)
Variant BorrowingFeesUpdated
.
MarketStateUpdated(MarketStateUpdated)
Variant MarketStateUpdated
.
SwapExecuted(SwapExecuted)
Variant SwapExecuted
.
GtUpdated(GtUpdated)
Variant GtUpdated
.
UnknownOwnedData(UnknownOwnedData)
Variant UnknownOwnedData
.
Trait Implementations§
Source§impl Debug for GMSOLCPIEvent
impl Debug for GMSOLCPIEvent
Source§impl Decode for GMSOLCPIEvent
impl Decode for GMSOLCPIEvent
Source§fn decode<D>(decoder: D) -> Result<GMSOLCPIEvent, DecodeError>where
D: Decoder,
fn decode<D>(decoder: D) -> Result<GMSOLCPIEvent, DecodeError>where
D: Decoder,
Decode with the given
Decoder
.Auto Trait Implementations§
impl Freeze for GMSOLCPIEvent
impl RefUnwindSafe for GMSOLCPIEvent
impl Send for GMSOLCPIEvent
impl Sync for GMSOLCPIEvent
impl Unpin for GMSOLCPIEvent
impl UnwindSafe for GMSOLCPIEvent
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more