Skip to main content

EventInstance

Enum EventInstance 

Source
#[non_exhaustive]
pub enum EventInstance {
Show 74 variants AcceptedPositionFeesProposal(MoveInstance<AcceptedPositionFeesProposal>), AddedIntegratorConfig(MoveInstance<AddedIntegratorConfig<Otw>>), AllocatedCollateral(MoveInstance<AllocatedCollateral>), CanceledOrder(MoveInstance<CanceledOrder>), ClosedMarket(MoveInstance<ClosedMarket>), ClosedPositionAtSettlementPrices(MoveInstance<ClosedPositionAtSettlementPrices>), CreatedAccount(MoveInstance<CreatedAccount<Otw>>), CreatedAssistantAccountCap(MoveInstance<CreatedAssistantAccountCap>), CreatedClearingHouse(MoveInstance<CreatedClearingHouse>), CreatedIntegratorVault(MoveInstance<CreatedIntegratorVault>), CreatedMarginRatiosProposal(MoveInstance<CreatedMarginRatiosProposal>), CreatedOrderbook(MoveInstance<CreatedOrderbook>), CreatedPosition(MoveInstance<CreatedPosition>), CreatedPositionFeesProposal(MoveInstance<CreatedPositionFeesProposal>), CreatedStopOrderTicket(MoveInstance<CreatedStopOrderTicket<Otw>>), DeallocatedCollateral(MoveInstance<DeallocatedCollateral>), DeletedMarginRatiosProposal(MoveInstance<DeletedMarginRatiosProposal>), DeletedPositionFeesProposal(MoveInstance<DeletedPositionFeesProposal>), DeletedStopOrderTicket(MoveInstance<DeletedStopOrderTicket<Otw>>), DepositedCollateral(MoveInstance<DepositedCollateral<Otw>>), DonatedToInsuranceFund(MoveInstance<DonatedToInsuranceFund>), EditedStopOrderTicketDetails(MoveInstance<EditedStopOrderTicketDetails<Otw>>), EditedStopOrderTicketExecutors(MoveInstance<EditedStopOrderTicketExecutors<Otw>>), ExecutedStopOrderTicket(MoveInstance<ExecutedStopOrderTicket<Otw>>), FilledMakerOrder(MoveInstance<FilledMakerOrder>), FilledMakerOrders(MoveInstance<FilledMakerOrders>), FilledTakerOrder(MoveInstance<FilledTakerOrder>), LiquidatedPosition(MoveInstance<LiquidatedPosition>), PaidIntegratorFees(MoveInstance<PaidIntegratorFees<Otw>>), PausedMarket(MoveInstance<PausedMarket>), PerformedADL(MoveInstance<PerformedADL>), PerformedLiquidation(MoveInstance<PerformedLiquidation>), PostedOrder(MoveInstance<PostedOrder>), RegisteredCollateralInfo(MoveInstance<RegisteredCollateralInfo<Otw>>), RegisteredMarketInfo(MoveInstance<RegisteredMarketInfo<Otw>>), RejectedPositionFeesProposal(MoveInstance<RejectedPositionFeesProposal>), RemovedIntegratorConfig(MoveInstance<RemovedIntegratorConfig<Otw>>), RemovedRegisteredMarketInfo(MoveInstance<RemovedRegisteredMarketInfo<Otw>>), ResettedPositionFees(MoveInstance<ResettedPositionFees>), ResumedMarket(MoveInstance<ResumedMarket>), RevokedAssistantAccountCap(MoveInstance<RevokedAssistantAccountCap>), SetPositionInitialMarginRatio(MoveInstance<SetPositionInitialMarginRatio>), SettledFunding(MoveInstance<SettledFunding>), SocializedBadDebt(MoveInstance<SocializedBadDebt>), UpdatedBasePfsID(MoveInstance<UpdatedBasePfsID>), UpdatedBasePfsSourceID(MoveInstance<UpdatedBasePfsSourceID>), UpdatedBasePfsTolerance(MoveInstance<UpdatedBasePfsTolerance>), UpdatedClearingHouseVersion(MoveInstance<UpdatedClearingHouseVersion>), UpdatedCollateralHaircut(MoveInstance<UpdatedCollateralHaircut>), UpdatedCollateralPfsID(MoveInstance<UpdatedCollateralPfsID>), UpdatedCollateralPfsSourceID(MoveInstance<UpdatedCollateralPfsSourceID>), UpdatedCollateralPfsTolerance(MoveInstance<UpdatedCollateralPfsTolerance>), UpdatedFees(MoveInstance<UpdatedFees>), UpdatedFunding(MoveInstance<UpdatedFunding>), UpdatedFundingParameters(MoveInstance<UpdatedFundingParameters>), UpdatedGasPriceTwap(MoveInstance<UpdatedGasPriceTwap>), UpdatedGasPriceTwapParameters(MoveInstance<UpdatedGasPriceTwapParameters>), UpdatedMarginRatios(MoveInstance<UpdatedMarginRatios>), UpdatedMarketLotAndTick(MoveInstance<UpdatedMarketLotAndTick>), UpdatedMaxBadDebt(MoveInstance<UpdatedMaxBadDebt>), UpdatedMaxOpenInterest(MoveInstance<UpdatedMaxOpenInterest>), UpdatedMaxOpenInterestPositionParams(MoveInstance<UpdatedMaxOpenInterestPositionParams>), UpdatedMaxPendingOrders(MoveInstance<UpdatedMaxPendingOrders>), UpdatedMaxSocializeLossesMrDecrease(MoveInstance<UpdatedMaxSocializeLossesMrDecrease>), UpdatedMinOrderUsdValue(MoveInstance<UpdatedMinOrderUsdValue>), UpdatedOpenInterestAndFeesAccrued(MoveInstance<UpdatedOpenInterestAndFeesAccrued>), UpdatedPremiumTwap(MoveInstance<UpdatedPremiumTwap>), UpdatedSpreadTwap(MoveInstance<UpdatedSpreadTwap>), UpdatedSpreadTwapParameters(MoveInstance<UpdatedSpreadTwapParameters>), UpdatedStopOrderMistCost(MoveInstance<UpdatedStopOrderMistCost>), WithdrewCollateral(MoveInstance<WithdrewCollateral<Otw>>), WithdrewFees(MoveInstance<WithdrewFees>), WithdrewFromIntegratorVault(MoveInstance<WithdrewFromIntegratorVault>), WithdrewInsuranceFund(MoveInstance<WithdrewInsuranceFund>),
}
Expand description

A Perpetuals event instance of any kind.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

AcceptedPositionFeesProposal(MoveInstance<AcceptedPositionFeesProposal>)

§

AddedIntegratorConfig(MoveInstance<AddedIntegratorConfig<Otw>>)

§

AllocatedCollateral(MoveInstance<AllocatedCollateral>)

§

CanceledOrder(MoveInstance<CanceledOrder>)

§

ClosedMarket(MoveInstance<ClosedMarket>)

§

ClosedPositionAtSettlementPrices(MoveInstance<ClosedPositionAtSettlementPrices>)

§

CreatedAccount(MoveInstance<CreatedAccount<Otw>>)

§

CreatedAssistantAccountCap(MoveInstance<CreatedAssistantAccountCap>)

§

CreatedClearingHouse(MoveInstance<CreatedClearingHouse>)

§

CreatedIntegratorVault(MoveInstance<CreatedIntegratorVault>)

§

CreatedMarginRatiosProposal(MoveInstance<CreatedMarginRatiosProposal>)

§

CreatedOrderbook(MoveInstance<CreatedOrderbook>)

§

CreatedPosition(MoveInstance<CreatedPosition>)

§

CreatedPositionFeesProposal(MoveInstance<CreatedPositionFeesProposal>)

§

CreatedStopOrderTicket(MoveInstance<CreatedStopOrderTicket<Otw>>)

§

DeallocatedCollateral(MoveInstance<DeallocatedCollateral>)

§

DeletedMarginRatiosProposal(MoveInstance<DeletedMarginRatiosProposal>)

§

DeletedPositionFeesProposal(MoveInstance<DeletedPositionFeesProposal>)

§

DeletedStopOrderTicket(MoveInstance<DeletedStopOrderTicket<Otw>>)

§

DepositedCollateral(MoveInstance<DepositedCollateral<Otw>>)

§

DonatedToInsuranceFund(MoveInstance<DonatedToInsuranceFund>)

§

EditedStopOrderTicketDetails(MoveInstance<EditedStopOrderTicketDetails<Otw>>)

§

EditedStopOrderTicketExecutors(MoveInstance<EditedStopOrderTicketExecutors<Otw>>)

§

ExecutedStopOrderTicket(MoveInstance<ExecutedStopOrderTicket<Otw>>)

§

FilledMakerOrder(MoveInstance<FilledMakerOrder>)

§

FilledMakerOrders(MoveInstance<FilledMakerOrders>)

§

FilledTakerOrder(MoveInstance<FilledTakerOrder>)

§

LiquidatedPosition(MoveInstance<LiquidatedPosition>)

§

PaidIntegratorFees(MoveInstance<PaidIntegratorFees<Otw>>)

§

PausedMarket(MoveInstance<PausedMarket>)

§

PerformedADL(MoveInstance<PerformedADL>)

§

PerformedLiquidation(MoveInstance<PerformedLiquidation>)

§

PostedOrder(MoveInstance<PostedOrder>)

§

RegisteredCollateralInfo(MoveInstance<RegisteredCollateralInfo<Otw>>)

§

RegisteredMarketInfo(MoveInstance<RegisteredMarketInfo<Otw>>)

§

RejectedPositionFeesProposal(MoveInstance<RejectedPositionFeesProposal>)

§

RemovedIntegratorConfig(MoveInstance<RemovedIntegratorConfig<Otw>>)

§

RemovedRegisteredMarketInfo(MoveInstance<RemovedRegisteredMarketInfo<Otw>>)

§

ResettedPositionFees(MoveInstance<ResettedPositionFees>)

§

ResumedMarket(MoveInstance<ResumedMarket>)

§

RevokedAssistantAccountCap(MoveInstance<RevokedAssistantAccountCap>)

§

SetPositionInitialMarginRatio(MoveInstance<SetPositionInitialMarginRatio>)

§

SettledFunding(MoveInstance<SettledFunding>)

§

SocializedBadDebt(MoveInstance<SocializedBadDebt>)

§

UpdatedBasePfsID(MoveInstance<UpdatedBasePfsID>)

§

UpdatedBasePfsSourceID(MoveInstance<UpdatedBasePfsSourceID>)

§

UpdatedBasePfsTolerance(MoveInstance<UpdatedBasePfsTolerance>)

§

UpdatedClearingHouseVersion(MoveInstance<UpdatedClearingHouseVersion>)

§

UpdatedCollateralHaircut(MoveInstance<UpdatedCollateralHaircut>)

§

UpdatedCollateralPfsID(MoveInstance<UpdatedCollateralPfsID>)

§

UpdatedCollateralPfsSourceID(MoveInstance<UpdatedCollateralPfsSourceID>)

§

UpdatedCollateralPfsTolerance(MoveInstance<UpdatedCollateralPfsTolerance>)

§

UpdatedFees(MoveInstance<UpdatedFees>)

§

UpdatedFunding(MoveInstance<UpdatedFunding>)

§

UpdatedFundingParameters(MoveInstance<UpdatedFundingParameters>)

§

UpdatedGasPriceTwap(MoveInstance<UpdatedGasPriceTwap>)

§

UpdatedGasPriceTwapParameters(MoveInstance<UpdatedGasPriceTwapParameters>)

§

UpdatedMarginRatios(MoveInstance<UpdatedMarginRatios>)

§

UpdatedMarketLotAndTick(MoveInstance<UpdatedMarketLotAndTick>)

§

UpdatedMaxBadDebt(MoveInstance<UpdatedMaxBadDebt>)

§

UpdatedMaxOpenInterest(MoveInstance<UpdatedMaxOpenInterest>)

§

UpdatedMaxOpenInterestPositionParams(MoveInstance<UpdatedMaxOpenInterestPositionParams>)

§

UpdatedMaxPendingOrders(MoveInstance<UpdatedMaxPendingOrders>)

§

UpdatedMaxSocializeLossesMrDecrease(MoveInstance<UpdatedMaxSocializeLossesMrDecrease>)

§

UpdatedMinOrderUsdValue(MoveInstance<UpdatedMinOrderUsdValue>)

§

UpdatedOpenInterestAndFeesAccrued(MoveInstance<UpdatedOpenInterestAndFeesAccrued>)

§

UpdatedPremiumTwap(MoveInstance<UpdatedPremiumTwap>)

§

UpdatedSpreadTwap(MoveInstance<UpdatedSpreadTwap>)

§

UpdatedSpreadTwapParameters(MoveInstance<UpdatedSpreadTwapParameters>)

§

UpdatedStopOrderMistCost(MoveInstance<UpdatedStopOrderMistCost>)

§

WithdrewCollateral(MoveInstance<WithdrewCollateral<Otw>>)

§

WithdrewFees(MoveInstance<WithdrewFees>)

§

WithdrewFromIntegratorVault(MoveInstance<WithdrewFromIntegratorVault>)

§

WithdrewInsuranceFund(MoveInstance<WithdrewInsuranceFund>)

Implementations§

Source§

impl EventInstance

Source

pub const fn is_accepted_position_fees_proposal(&self) -> bool

Returns true if this value is of type AcceptedPositionFeesProposal. Returns false otherwise

Source

pub const fn is_added_integrator_config(&self) -> bool

Returns true if this value is of type AddedIntegratorConfig. Returns false otherwise

Source

pub const fn is_allocated_collateral(&self) -> bool

Returns true if this value is of type AllocatedCollateral. Returns false otherwise

Source

pub const fn is_canceled_order(&self) -> bool

Returns true if this value is of type CanceledOrder. Returns false otherwise

Source

pub const fn is_closed_market(&self) -> bool

Returns true if this value is of type ClosedMarket. Returns false otherwise

Source

pub const fn is_closed_position_at_settlement_prices(&self) -> bool

Returns true if this value is of type ClosedPositionAtSettlementPrices. Returns false otherwise

Source

pub const fn is_created_account(&self) -> bool

Returns true if this value is of type CreatedAccount. Returns false otherwise

Source

pub const fn is_created_assistant_account_cap(&self) -> bool

Returns true if this value is of type CreatedAssistantAccountCap. Returns false otherwise

Source

pub const fn is_created_clearing_house(&self) -> bool

Returns true if this value is of type CreatedClearingHouse. Returns false otherwise

Source

pub const fn is_created_integrator_vault(&self) -> bool

Returns true if this value is of type CreatedIntegratorVault. Returns false otherwise

Source

pub const fn is_created_margin_ratios_proposal(&self) -> bool

Returns true if this value is of type CreatedMarginRatiosProposal. Returns false otherwise

Source

pub const fn is_created_orderbook(&self) -> bool

Returns true if this value is of type CreatedOrderbook. Returns false otherwise

Source

pub const fn is_created_position(&self) -> bool

Returns true if this value is of type CreatedPosition. Returns false otherwise

Source

pub const fn is_created_position_fees_proposal(&self) -> bool

Returns true if this value is of type CreatedPositionFeesProposal. Returns false otherwise

Source

pub const fn is_created_stop_order_ticket(&self) -> bool

Returns true if this value is of type CreatedStopOrderTicket. Returns false otherwise

Source

pub const fn is_deallocated_collateral(&self) -> bool

Returns true if this value is of type DeallocatedCollateral. Returns false otherwise

Source

pub const fn is_deleted_margin_ratios_proposal(&self) -> bool

Returns true if this value is of type DeletedMarginRatiosProposal. Returns false otherwise

Source

pub const fn is_deleted_position_fees_proposal(&self) -> bool

Returns true if this value is of type DeletedPositionFeesProposal. Returns false otherwise

Source

pub const fn is_deleted_stop_order_ticket(&self) -> bool

Returns true if this value is of type DeletedStopOrderTicket. Returns false otherwise

Source

pub const fn is_deposited_collateral(&self) -> bool

Returns true if this value is of type DepositedCollateral. Returns false otherwise

Source

pub const fn is_donated_to_insurance_fund(&self) -> bool

Returns true if this value is of type DonatedToInsuranceFund. Returns false otherwise

Source

pub const fn is_edited_stop_order_ticket_details(&self) -> bool

Returns true if this value is of type EditedStopOrderTicketDetails. Returns false otherwise

Source

pub const fn is_edited_stop_order_ticket_executors(&self) -> bool

Returns true if this value is of type EditedStopOrderTicketExecutors. Returns false otherwise

Source

pub const fn is_executed_stop_order_ticket(&self) -> bool

Returns true if this value is of type ExecutedStopOrderTicket. Returns false otherwise

Source

pub const fn is_filled_maker_order(&self) -> bool

Returns true if this value is of type FilledMakerOrder. Returns false otherwise

Source

pub const fn is_filled_maker_orders(&self) -> bool

Returns true if this value is of type FilledMakerOrders. Returns false otherwise

Source

pub const fn is_filled_taker_order(&self) -> bool

Returns true if this value is of type FilledTakerOrder. Returns false otherwise

Source

pub const fn is_liquidated_position(&self) -> bool

Returns true if this value is of type LiquidatedPosition. Returns false otherwise

Source

pub const fn is_paid_integrator_fees(&self) -> bool

Returns true if this value is of type PaidIntegratorFees. Returns false otherwise

Source

pub const fn is_paused_market(&self) -> bool

Returns true if this value is of type PausedMarket. Returns false otherwise

Source

pub const fn is_performed_adl(&self) -> bool

Returns true if this value is of type PerformedADL. Returns false otherwise

Source

pub const fn is_performed_liquidation(&self) -> bool

Returns true if this value is of type PerformedLiquidation. Returns false otherwise

Source

pub const fn is_posted_order(&self) -> bool

Returns true if this value is of type PostedOrder. Returns false otherwise

Source

pub const fn is_registered_collateral_info(&self) -> bool

Returns true if this value is of type RegisteredCollateralInfo. Returns false otherwise

Source

pub const fn is_registered_market_info(&self) -> bool

Returns true if this value is of type RegisteredMarketInfo. Returns false otherwise

Source

pub const fn is_rejected_position_fees_proposal(&self) -> bool

Returns true if this value is of type RejectedPositionFeesProposal. Returns false otherwise

Source

pub const fn is_removed_integrator_config(&self) -> bool

Returns true if this value is of type RemovedIntegratorConfig. Returns false otherwise

Source

pub const fn is_removed_registered_market_info(&self) -> bool

Returns true if this value is of type RemovedRegisteredMarketInfo. Returns false otherwise

Source

pub const fn is_resetted_position_fees(&self) -> bool

Returns true if this value is of type ResettedPositionFees. Returns false otherwise

Source

pub const fn is_resumed_market(&self) -> bool

Returns true if this value is of type ResumedMarket. Returns false otherwise

Source

pub const fn is_revoked_assistant_account_cap(&self) -> bool

Returns true if this value is of type RevokedAssistantAccountCap. Returns false otherwise

Source

pub const fn is_set_position_initial_margin_ratio(&self) -> bool

Returns true if this value is of type SetPositionInitialMarginRatio. Returns false otherwise

Source

pub const fn is_settled_funding(&self) -> bool

Returns true if this value is of type SettledFunding. Returns false otherwise

Source

pub const fn is_socialized_bad_debt(&self) -> bool

Returns true if this value is of type SocializedBadDebt. Returns false otherwise

Source

pub const fn is_updated_base_pfs_id(&self) -> bool

Returns true if this value is of type UpdatedBasePfsID. Returns false otherwise

Source

pub const fn is_updated_base_pfs_source_id(&self) -> bool

Returns true if this value is of type UpdatedBasePfsSourceID. Returns false otherwise

Source

pub const fn is_updated_base_pfs_tolerance(&self) -> bool

Returns true if this value is of type UpdatedBasePfsTolerance. Returns false otherwise

Source

pub const fn is_updated_clearing_house_version(&self) -> bool

Returns true if this value is of type UpdatedClearingHouseVersion. Returns false otherwise

Source

pub const fn is_updated_collateral_haircut(&self) -> bool

Returns true if this value is of type UpdatedCollateralHaircut. Returns false otherwise

Source

pub const fn is_updated_collateral_pfs_id(&self) -> bool

Returns true if this value is of type UpdatedCollateralPfsID. Returns false otherwise

Source

pub const fn is_updated_collateral_pfs_source_id(&self) -> bool

Returns true if this value is of type UpdatedCollateralPfsSourceID. Returns false otherwise

Source

pub const fn is_updated_collateral_pfs_tolerance(&self) -> bool

Returns true if this value is of type UpdatedCollateralPfsTolerance. Returns false otherwise

Source

pub const fn is_updated_fees(&self) -> bool

Returns true if this value is of type UpdatedFees. Returns false otherwise

Source

pub const fn is_updated_funding(&self) -> bool

Returns true if this value is of type UpdatedFunding. Returns false otherwise

Source

pub const fn is_updated_funding_parameters(&self) -> bool

Returns true if this value is of type UpdatedFundingParameters. Returns false otherwise

Source

pub const fn is_updated_gas_price_twap(&self) -> bool

Returns true if this value is of type UpdatedGasPriceTwap. Returns false otherwise

Source

pub const fn is_updated_gas_price_twap_parameters(&self) -> bool

Returns true if this value is of type UpdatedGasPriceTwapParameters. Returns false otherwise

Source

pub const fn is_updated_margin_ratios(&self) -> bool

Returns true if this value is of type UpdatedMarginRatios. Returns false otherwise

Source

pub const fn is_updated_market_lot_and_tick(&self) -> bool

Returns true if this value is of type UpdatedMarketLotAndTick. Returns false otherwise

Source

pub const fn is_updated_max_bad_debt(&self) -> bool

Returns true if this value is of type UpdatedMaxBadDebt. Returns false otherwise

Source

pub const fn is_updated_max_open_interest(&self) -> bool

Returns true if this value is of type UpdatedMaxOpenInterest. Returns false otherwise

Source

pub const fn is_updated_max_open_interest_position_params(&self) -> bool

Returns true if this value is of type UpdatedMaxOpenInterestPositionParams. Returns false otherwise

Source

pub const fn is_updated_max_pending_orders(&self) -> bool

Returns true if this value is of type UpdatedMaxPendingOrders. Returns false otherwise

Source

pub const fn is_updated_max_socialize_losses_mr_decrease(&self) -> bool

Returns true if this value is of type UpdatedMaxSocializeLossesMrDecrease. Returns false otherwise

Source

pub const fn is_updated_min_order_usd_value(&self) -> bool

Returns true if this value is of type UpdatedMinOrderUsdValue. Returns false otherwise

Source

pub const fn is_updated_open_interest_and_fees_accrued(&self) -> bool

Returns true if this value is of type UpdatedOpenInterestAndFeesAccrued. Returns false otherwise

Source

pub const fn is_updated_premium_twap(&self) -> bool

Returns true if this value is of type UpdatedPremiumTwap. Returns false otherwise

Source

pub const fn is_updated_spread_twap(&self) -> bool

Returns true if this value is of type UpdatedSpreadTwap. Returns false otherwise

Source

pub const fn is_updated_spread_twap_parameters(&self) -> bool

Returns true if this value is of type UpdatedSpreadTwapParameters. Returns false otherwise

Source

pub const fn is_updated_stop_order_mist_cost(&self) -> bool

Returns true if this value is of type UpdatedStopOrderMistCost. Returns false otherwise

Source

pub const fn is_withdrew_collateral(&self) -> bool

Returns true if this value is of type WithdrewCollateral. Returns false otherwise

Source

pub const fn is_withdrew_fees(&self) -> bool

Returns true if this value is of type WithdrewFees. Returns false otherwise

Source

pub const fn is_withdrew_from_integrator_vault(&self) -> bool

Returns true if this value is of type WithdrewFromIntegratorVault. Returns false otherwise

Source

pub const fn is_withdrew_insurance_fund(&self) -> bool

Returns true if this value is of type WithdrewInsuranceFund. Returns false otherwise

Source§

impl EventInstance

Source

pub fn new( type_: StructTag, bcs: impl AsRef<[u8]>, ) -> Result<Self, FromRawEventError>

Source

pub fn struct_tag(&self) -> StructTag

Trait Implementations§

Source§

impl Clone for EventInstance

Source§

fn clone(&self) -> EventInstance

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EventInstance

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for EventInstance

Source§

fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<MoveInstance<AcceptedPositionFeesProposal>> for EventInstance

Source§

fn from(value: MoveInstance<AcceptedPositionFeesProposal>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<AddedIntegratorConfig<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<AddedIntegratorConfig<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<AllocatedCollateral>> for EventInstance

Source§

fn from(value: MoveInstance<AllocatedCollateral>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<CanceledOrder>> for EventInstance

Source§

fn from(value: MoveInstance<CanceledOrder>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<ClosedMarket>> for EventInstance

Source§

fn from(value: MoveInstance<ClosedMarket>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<ClosedPositionAtSettlementPrices>> for EventInstance

Source§

fn from(value: MoveInstance<ClosedPositionAtSettlementPrices>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<CreatedAccount<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<CreatedAccount<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<CreatedAssistantAccountCap>> for EventInstance

Source§

fn from(value: MoveInstance<CreatedAssistantAccountCap>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<CreatedClearingHouse>> for EventInstance

Source§

fn from(value: MoveInstance<CreatedClearingHouse>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<CreatedIntegratorVault>> for EventInstance

Source§

fn from(value: MoveInstance<CreatedIntegratorVault>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<CreatedMarginRatiosProposal>> for EventInstance

Source§

fn from(value: MoveInstance<CreatedMarginRatiosProposal>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<CreatedOrderbook>> for EventInstance

Source§

fn from(value: MoveInstance<CreatedOrderbook>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<CreatedPosition>> for EventInstance

Source§

fn from(value: MoveInstance<CreatedPosition>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<CreatedPositionFeesProposal>> for EventInstance

Source§

fn from(value: MoveInstance<CreatedPositionFeesProposal>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<CreatedStopOrderTicket<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<CreatedStopOrderTicket<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<DeallocatedCollateral>> for EventInstance

Source§

fn from(value: MoveInstance<DeallocatedCollateral>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<DeletedMarginRatiosProposal>> for EventInstance

Source§

fn from(value: MoveInstance<DeletedMarginRatiosProposal>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<DeletedPositionFeesProposal>> for EventInstance

Source§

fn from(value: MoveInstance<DeletedPositionFeesProposal>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<DeletedStopOrderTicket<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<DeletedStopOrderTicket<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<DepositedCollateral<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<DepositedCollateral<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<DonatedToInsuranceFund>> for EventInstance

Source§

fn from(value: MoveInstance<DonatedToInsuranceFund>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<EditedStopOrderTicketDetails<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<EditedStopOrderTicketDetails<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<EditedStopOrderTicketExecutors<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<EditedStopOrderTicketExecutors<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<ExecutedStopOrderTicket<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<ExecutedStopOrderTicket<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<FilledMakerOrder>> for EventInstance

Source§

fn from(value: MoveInstance<FilledMakerOrder>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<FilledMakerOrders>> for EventInstance

Source§

fn from(value: MoveInstance<FilledMakerOrders>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<FilledTakerOrder>> for EventInstance

Source§

fn from(value: MoveInstance<FilledTakerOrder>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<LiquidatedPosition>> for EventInstance

Source§

fn from(value: MoveInstance<LiquidatedPosition>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<PaidIntegratorFees<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<PaidIntegratorFees<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<PausedMarket>> for EventInstance

Source§

fn from(value: MoveInstance<PausedMarket>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<PerformedADL>> for EventInstance

Source§

fn from(value: MoveInstance<PerformedADL>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<PerformedLiquidation>> for EventInstance

Source§

fn from(value: MoveInstance<PerformedLiquidation>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<PostedOrder>> for EventInstance

Source§

fn from(value: MoveInstance<PostedOrder>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<RegisteredCollateralInfo<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<RegisteredCollateralInfo<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<RegisteredMarketInfo<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<RegisteredMarketInfo<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<RejectedPositionFeesProposal>> for EventInstance

Source§

fn from(value: MoveInstance<RejectedPositionFeesProposal>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<RemovedIntegratorConfig<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<RemovedIntegratorConfig<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<RemovedRegisteredMarketInfo<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<RemovedRegisteredMarketInfo<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<ResettedPositionFees>> for EventInstance

Source§

fn from(value: MoveInstance<ResettedPositionFees>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<ResumedMarket>> for EventInstance

Source§

fn from(value: MoveInstance<ResumedMarket>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<RevokedAssistantAccountCap>> for EventInstance

Source§

fn from(value: MoveInstance<RevokedAssistantAccountCap>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<SetPositionInitialMarginRatio>> for EventInstance

Source§

fn from(value: MoveInstance<SetPositionInitialMarginRatio>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<SettledFunding>> for EventInstance

Source§

fn from(value: MoveInstance<SettledFunding>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<SocializedBadDebt>> for EventInstance

Source§

fn from(value: MoveInstance<SocializedBadDebt>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedBasePfsID>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedBasePfsID>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedBasePfsSourceID>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedBasePfsSourceID>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedBasePfsTolerance>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedBasePfsTolerance>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedClearingHouseVersion>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedClearingHouseVersion>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedCollateralHaircut>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedCollateralHaircut>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedCollateralPfsID>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedCollateralPfsID>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedCollateralPfsSourceID>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedCollateralPfsSourceID>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedCollateralPfsTolerance>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedCollateralPfsTolerance>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedFees>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedFees>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedFunding>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedFunding>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedFundingParameters>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedFundingParameters>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedGasPriceTwap>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedGasPriceTwap>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedGasPriceTwapParameters>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedGasPriceTwapParameters>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedMarginRatios>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedMarginRatios>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedMarketLotAndTick>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedMarketLotAndTick>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedMaxBadDebt>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedMaxBadDebt>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedMaxOpenInterest>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedMaxOpenInterest>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedMaxOpenInterestPositionParams>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedMaxOpenInterestPositionParams>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedMaxPendingOrders>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedMaxPendingOrders>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedMaxSocializeLossesMrDecrease>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedMaxSocializeLossesMrDecrease>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedMinOrderUsdValue>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedMinOrderUsdValue>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedOpenInterestAndFeesAccrued>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedOpenInterestAndFeesAccrued>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedPremiumTwap>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedPremiumTwap>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedSpreadTwap>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedSpreadTwap>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedSpreadTwapParameters>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedSpreadTwapParameters>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<UpdatedStopOrderMistCost>> for EventInstance

Source§

fn from(value: MoveInstance<UpdatedStopOrderMistCost>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<WithdrewCollateral<Otw>>> for EventInstance

Source§

fn from(value: MoveInstance<WithdrewCollateral<Otw>>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<WithdrewFees>> for EventInstance

Source§

fn from(value: MoveInstance<WithdrewFees>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<WithdrewFromIntegratorVault>> for EventInstance

Source§

fn from(value: MoveInstance<WithdrewFromIntegratorVault>) -> Self

Converts to this type from the input type.
Source§

impl From<MoveInstance<WithdrewInsuranceFund>> for EventInstance

Source§

fn from(value: MoveInstance<WithdrewInsuranceFund>) -> Self

Converts to this type from the input type.
Source§

impl TryFrom<EventInstance> for MoveInstance<AcceptedPositionFeesProposal>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<AddedIntegratorConfig<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<AllocatedCollateral>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<CanceledOrder>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<ClosedMarket>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<ClosedPositionAtSettlementPrices>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<CreatedAccount<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<CreatedAssistantAccountCap>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<CreatedClearingHouse>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<CreatedIntegratorVault>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<CreatedMarginRatiosProposal>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<CreatedOrderbook>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<CreatedPosition>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<CreatedPositionFeesProposal>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<CreatedStopOrderTicket<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<DeallocatedCollateral>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<DeletedMarginRatiosProposal>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<DeletedPositionFeesProposal>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<DeletedStopOrderTicket<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<DepositedCollateral<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<DonatedToInsuranceFund>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<EditedStopOrderTicketDetails<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<EditedStopOrderTicketExecutors<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<ExecutedStopOrderTicket<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<FilledMakerOrder>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<FilledMakerOrders>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<FilledTakerOrder>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<LiquidatedPosition>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<PaidIntegratorFees<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<PausedMarket>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<PerformedADL>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<PerformedLiquidation>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<PostedOrder>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<RegisteredCollateralInfo<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<RegisteredMarketInfo<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<RejectedPositionFeesProposal>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<RemovedIntegratorConfig<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<RemovedRegisteredMarketInfo<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<ResettedPositionFees>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<ResumedMarket>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<RevokedAssistantAccountCap>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<SetPositionInitialMarginRatio>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<SettledFunding>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<SocializedBadDebt>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedBasePfsID>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedBasePfsSourceID>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedBasePfsTolerance>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedClearingHouseVersion>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedCollateralHaircut>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedCollateralPfsID>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedCollateralPfsSourceID>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedCollateralPfsTolerance>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedFees>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedFunding>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedFundingParameters>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedGasPriceTwap>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedGasPriceTwapParameters>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedMarginRatios>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedMarketLotAndTick>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedMaxBadDebt>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedMaxOpenInterest>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedMaxOpenInterestPositionParams>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedMaxPendingOrders>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedMaxSocializeLossesMrDecrease>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedMinOrderUsdValue>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedOpenInterestAndFeesAccrued>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedPremiumTwap>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedSpreadTwap>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedSpreadTwapParameters>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<UpdatedStopOrderMistCost>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<WithdrewCollateral<Otw>>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<WithdrewFees>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<WithdrewFromIntegratorVault>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.
Source§

impl TryFrom<EventInstance> for MoveInstance<WithdrewInsuranceFund>

Source§

type Error = TryIntoError<EventInstance>

The type returned in the event of a conversion error.
Source§

fn try_from(value: EventInstance) -> Result<Self, TryIntoError<EventInstance>>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<U> As for U

Source§

fn as_<T>(self) -> T
where T: CastFrom<U>,

Casts self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Conv for T

Source§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pipe for T
where T: ?Sized,

Source§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
Source§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
Source§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
Source§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
Source§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
Source§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
Source§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> Tap for T

Source§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
Source§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
Source§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
Source§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
Source§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
Source§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
Source§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
Source§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
Source§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
Source§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
Source§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
Source§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
Source§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T> ToStringFallible for T
where T: Display,

Source§

fn try_to_string(&self) -> Result<String, TryReserveError>

ToString::to_string, but without panic on OOM.

Source§

impl<T> TryConv for T

Source§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> IsFieldType<T> for T