Skip to main content

TransactionRejectReason

Enum TransactionRejectReason 

Source
#[non_exhaustive]
pub enum TransactionRejectReason {
Show 144 variants InternalServerError, InstrumentPriceUnknown, AccountNotActive, AccountLocked, AccountOrderCreationLocked, AccountConfigurationLocked, AccountDepositLocked, AccountWithdrawalLocked, AccountOrderCancelLocked, InstrumentNotTradeable, PendingOrdersAllowedExceeded, OrderIdUnspecified, OrderDoesntExist, OrderIdentifierInconsistency, TradeIdUnspecified, TradeDoesntExist, TradeIdentifierInconsistency, InsufficientMargin, InstrumentMissing, InstrumentUnknown, UnitsMissing, UnitsInvalid, UnitsPrecisionExceeded, UnitsLimitExceeded, UnitsMimimumNotMet, PriceMissing, PriceInvalid, PricePrecisionExceeded, PriceDistanceMissing, PriceDistanceInvalid, PriceDistancePrecisionExceeded, PriceDistanceMaximumExceeded, PriceDistanceMinimumNotMet, TimeInForceMissing, TimeInForceInvalid, TimeInForceGtdTimestampMissing, TimeInForceGtdTimestampInPast, PriceBoundInvalid, PriceBoundPrecisionExceeded, OrdersOnFillDuplicateClientOrderIds, TradeOnFillClientExtensionsNotSupported, ClientOrderIdInvalid, ClientOrderIdAlreadyExists, ClientOrderTagInvalid, ClientOrderCommentInvalid, ClientTradeIdInvalid, ClientTradeIdAlreadyExists, ClientTradeTagInvalid, ClientTradeCommentInvalid, OrderFillPositionActionMissing, OrderFillPositionActionInvalid, TriggerConditionMissing, TriggerConditionInvalid, OrderPartialFillOptionMissing, OrderPartialFillOptionInvalid, InvalidReissueImmediatePartialFill, TakeProfitOrderAlreadyExists, TakeProfitOnFillPriceMissing, TakeProfitOnFillPriceInvalid, TakeProfitOnFillPricePrecisionExceeded, TakeProfitOnFillTimeInForceMissing, TakeProfitOnFillTimeInForceInvalid, TakeProfitOnFillGtdTimestampMissing, TakeProfitOnFillGtdTimestampInPast, TakeProfitOnFillClientOrderIdInvalid, TakeProfitOnFillClientOrderTagInvalid, TakeProfitOnFillClientOrderCommentInvalid, TakeProfitOnFillTriggerConditionMissing, TakeProfitOnFillTriggerConditionInvalid, StopLossOrderAlreadyExists, StopLossOrderGuaranteedRequired, StopLossOrderGuaranteedPriceWithinSpread, StopLossOrderGuaranteedNotAllowed, StopLossOrderGuaranteedHaltedCreateViolation, StopLossOrderGuaranteedHaltedTightenViolation, StopLossOrderGuaranteedHedgingNotAllowed, StopLossOrderGuaranteedMinimumDistanceNotMet, StopLossOrderNotCancelable, StopLossOrderNotReplaceable, StopLossOrderGuaranteedLevelRestrictionExceeded, StopLossOrderPriceAndDistanceBothSpecified, StopLossOrderPriceAndDistanceBothMissing, StopLossOnFillRequiredForPendingOrder, StopLossOnFillGuaranteedNotAllowed, StopLossOnFillGuaranteedRequired, StopLossOnFillPriceMissing, StopLossOnFillPriceInvalid, StopLossOnFillPricePrecisionExceeded, StopLossOnFillGuaranteedMinimumDistanceNotMet, StopLossOnFillGuaranteedLevelRestrictionExceeded, StopLossOnFillDistanceInvalid, StopLossOnFillPriceDistanceMaximumExceeded, StopLossOnFillDistancePrecisionExceeded, StopLossOnFillPriceAndDistanceBothSpecified, StopLossOnFillPriceAndDistanceBothMissing, StopLossOnFillTimeInForceMissing, StopLossOnFillTimeInForceInvalid, StopLossOnFillGtdTimestampMissing, StopLossOnFillGtdTimestampInPast, StopLossOnFillClientOrderIdInvalid, StopLossOnFillClientOrderTagInvalid, StopLossOnFillClientOrderCommentInvalid, StopLossOnFillTriggerConditionMissing, StopLossOnFillTriggerConditionInvalid, TrailingStopLossOrderAlreadyExists, TrailingStopLossOnFillPriceDistanceMissing, TrailingStopLossOnFillPriceDistanceInvalid, TrailingStopLossOnFillPriceDistancePrecisionExceeded, TrailingStopLossOnFillPriceDistanceMaximumExceeded, TrailingStopLossOnFillPriceDistanceMinimumNotMet, TrailingStopLossOnFillTimeInForceMissing, TrailingStopLossOnFillTimeInForceInvalid, TrailingStopLossOnFillGtdTimestampMissing, TrailingStopLossOnFillGtdTimestampInPast, TrailingStopLossOnFillClientOrderIdInvalid, TrailingStopLossOnFillClientOrderTagInvalid, TrailingStopLossOnFillClientOrderCommentInvalid, TrailingStopLossOrdersNotSupported, TrailingStopLossOnFillTriggerConditionMissing, TrailingStopLossOnFillTriggerConditionInvalid, CloseTradeTypeMissing, CloseTradePartialUnitsMissing, CloseTradeUnitsExceedTradeSize, CloseoutPositionDoesntExist, CloseoutPositionIncompleteSpecification, CloseoutPositionUnitsExceedPositionSize, CloseoutPositionReject, CloseoutPositionPartialUnitsMissing, MarkupGroupIdInvalid, PositionAggregationModeInvalid, AdminConfigureDataMissing, MarginRateInvalid, MarginRateWouldTriggerCloseout, AliasInvalid, ClientConfigureDataMissing, MarginRateWouldTriggerMarginCall, AmountInvalid, InsufficientFunds, AmountMissing, FundingReasonMissing, ClientExtensionsDataMissing, ReplacingOrderInvalid, ReplacingTradeIdInvalid, Other(String),
}
Expand description

The reason that a Transaction was rejected.

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

InternalServerError

INTERNAL_SERVER_ERROR.

§

InstrumentPriceUnknown

INSTRUMENT_PRICE_UNKNOWN.

§

AccountNotActive

ACCOUNT_NOT_ACTIVE.

§

AccountLocked

ACCOUNT_LOCKED.

§

AccountOrderCreationLocked

ACCOUNT_ORDER_CREATION_LOCKED.

§

AccountConfigurationLocked

ACCOUNT_CONFIGURATION_LOCKED.

§

AccountDepositLocked

ACCOUNT_DEPOSIT_LOCKED.

§

AccountWithdrawalLocked

ACCOUNT_WITHDRAWAL_LOCKED.

§

AccountOrderCancelLocked

ACCOUNT_ORDER_CANCEL_LOCKED.

§

InstrumentNotTradeable

INSTRUMENT_NOT_TRADEABLE.

§

PendingOrdersAllowedExceeded

PENDING_ORDERS_ALLOWED_EXCEEDED.

§

OrderIdUnspecified

ORDER_ID_UNSPECIFIED.

§

OrderDoesntExist

ORDER_DOESNT_EXIST.

§

OrderIdentifierInconsistency

ORDER_IDENTIFIER_INCONSISTENCY.

§

TradeIdUnspecified

TRADE_ID_UNSPECIFIED.

§

TradeDoesntExist

TRADE_DOESNT_EXIST.

§

TradeIdentifierInconsistency

TRADE_IDENTIFIER_INCONSISTENCY.

§

InsufficientMargin

INSUFFICIENT_MARGIN.

§

InstrumentMissing

INSTRUMENT_MISSING.

§

InstrumentUnknown

INSTRUMENT_UNKNOWN.

§

UnitsMissing

UNITS_MISSING.

§

UnitsInvalid

UNITS_INVALID.

§

UnitsPrecisionExceeded

UNITS_PRECISION_EXCEEDED.

§

UnitsLimitExceeded

UNITS_LIMIT_EXCEEDED.

§

UnitsMimimumNotMet

UNITS_MIMIMUM_NOT_MET.

§

PriceMissing

PRICE_MISSING.

§

PriceInvalid

PRICE_INVALID.

§

PricePrecisionExceeded

PRICE_PRECISION_EXCEEDED.

§

PriceDistanceMissing

PRICE_DISTANCE_MISSING.

§

PriceDistanceInvalid

PRICE_DISTANCE_INVALID.

§

PriceDistancePrecisionExceeded

PRICE_DISTANCE_PRECISION_EXCEEDED.

§

PriceDistanceMaximumExceeded

PRICE_DISTANCE_MAXIMUM_EXCEEDED.

§

PriceDistanceMinimumNotMet

PRICE_DISTANCE_MINIMUM_NOT_MET.

§

TimeInForceMissing

TIME_IN_FORCE_MISSING.

§

TimeInForceInvalid

TIME_IN_FORCE_INVALID.

§

TimeInForceGtdTimestampMissing

TIME_IN_FORCE_GTD_TIMESTAMP_MISSING.

§

TimeInForceGtdTimestampInPast

TIME_IN_FORCE_GTD_TIMESTAMP_IN_PAST.

§

PriceBoundInvalid

PRICE_BOUND_INVALID.

§

PriceBoundPrecisionExceeded

PRICE_BOUND_PRECISION_EXCEEDED.

§

OrdersOnFillDuplicateClientOrderIds

ORDERS_ON_FILL_DUPLICATE_CLIENT_ORDER_IDS.

§

TradeOnFillClientExtensionsNotSupported

TRADE_ON_FILL_CLIENT_EXTENSIONS_NOT_SUPPORTED.

§

ClientOrderIdInvalid

CLIENT_ORDER_ID_INVALID.

§

ClientOrderIdAlreadyExists

CLIENT_ORDER_ID_ALREADY_EXISTS.

§

ClientOrderTagInvalid

CLIENT_ORDER_TAG_INVALID.

§

ClientOrderCommentInvalid

CLIENT_ORDER_COMMENT_INVALID.

§

ClientTradeIdInvalid

CLIENT_TRADE_ID_INVALID.

§

ClientTradeIdAlreadyExists

CLIENT_TRADE_ID_ALREADY_EXISTS.

§

ClientTradeTagInvalid

CLIENT_TRADE_TAG_INVALID.

§

ClientTradeCommentInvalid

CLIENT_TRADE_COMMENT_INVALID.

§

OrderFillPositionActionMissing

ORDER_FILL_POSITION_ACTION_MISSING.

§

OrderFillPositionActionInvalid

ORDER_FILL_POSITION_ACTION_INVALID.

§

TriggerConditionMissing

TRIGGER_CONDITION_MISSING.

§

TriggerConditionInvalid

TRIGGER_CONDITION_INVALID.

§

OrderPartialFillOptionMissing

ORDER_PARTIAL_FILL_OPTION_MISSING.

§

OrderPartialFillOptionInvalid

ORDER_PARTIAL_FILL_OPTION_INVALID.

§

InvalidReissueImmediatePartialFill

INVALID_REISSUE_IMMEDIATE_PARTIAL_FILL.

§

TakeProfitOrderAlreadyExists

TAKE_PROFIT_ORDER_ALREADY_EXISTS.

§

TakeProfitOnFillPriceMissing

TAKE_PROFIT_ON_FILL_PRICE_MISSING.

§

TakeProfitOnFillPriceInvalid

TAKE_PROFIT_ON_FILL_PRICE_INVALID.

§

TakeProfitOnFillPricePrecisionExceeded

TAKE_PROFIT_ON_FILL_PRICE_PRECISION_EXCEEDED.

§

TakeProfitOnFillTimeInForceMissing

TAKE_PROFIT_ON_FILL_TIME_IN_FORCE_MISSING.

§

TakeProfitOnFillTimeInForceInvalid

TAKE_PROFIT_ON_FILL_TIME_IN_FORCE_INVALID.

§

TakeProfitOnFillGtdTimestampMissing

TAKE_PROFIT_ON_FILL_GTD_TIMESTAMP_MISSING.

§

TakeProfitOnFillGtdTimestampInPast

TAKE_PROFIT_ON_FILL_GTD_TIMESTAMP_IN_PAST.

§

TakeProfitOnFillClientOrderIdInvalid

TAKE_PROFIT_ON_FILL_CLIENT_ORDER_ID_INVALID.

§

TakeProfitOnFillClientOrderTagInvalid

TAKE_PROFIT_ON_FILL_CLIENT_ORDER_TAG_INVALID.

§

TakeProfitOnFillClientOrderCommentInvalid

TAKE_PROFIT_ON_FILL_CLIENT_ORDER_COMMENT_INVALID.

§

TakeProfitOnFillTriggerConditionMissing

TAKE_PROFIT_ON_FILL_TRIGGER_CONDITION_MISSING.

§

TakeProfitOnFillTriggerConditionInvalid

TAKE_PROFIT_ON_FILL_TRIGGER_CONDITION_INVALID.

§

StopLossOrderAlreadyExists

STOP_LOSS_ORDER_ALREADY_EXISTS.

§

StopLossOrderGuaranteedRequired

STOP_LOSS_ORDER_GUARANTEED_REQUIRED.

§

StopLossOrderGuaranteedPriceWithinSpread

STOP_LOSS_ORDER_GUARANTEED_PRICE_WITHIN_SPREAD.

§

StopLossOrderGuaranteedNotAllowed

STOP_LOSS_ORDER_GUARANTEED_NOT_ALLOWED.

§

StopLossOrderGuaranteedHaltedCreateViolation

STOP_LOSS_ORDER_GUARANTEED_HALTED_CREATE_VIOLATION.

§

StopLossOrderGuaranteedHaltedTightenViolation

STOP_LOSS_ORDER_GUARANTEED_HALTED_TIGHTEN_VIOLATION.

§

StopLossOrderGuaranteedHedgingNotAllowed

STOP_LOSS_ORDER_GUARANTEED_HEDGING_NOT_ALLOWED.

§

StopLossOrderGuaranteedMinimumDistanceNotMet

STOP_LOSS_ORDER_GUARANTEED_MINIMUM_DISTANCE_NOT_MET.

§

StopLossOrderNotCancelable

STOP_LOSS_ORDER_NOT_CANCELABLE.

§

StopLossOrderNotReplaceable

STOP_LOSS_ORDER_NOT_REPLACEABLE.

§

StopLossOrderGuaranteedLevelRestrictionExceeded

STOP_LOSS_ORDER_GUARANTEED_LEVEL_RESTRICTION_EXCEEDED.

§

StopLossOrderPriceAndDistanceBothSpecified

STOP_LOSS_ORDER_PRICE_AND_DISTANCE_BOTH_SPECIFIED.

§

StopLossOrderPriceAndDistanceBothMissing

STOP_LOSS_ORDER_PRICE_AND_DISTANCE_BOTH_MISSING.

§

StopLossOnFillRequiredForPendingOrder

STOP_LOSS_ON_FILL_REQUIRED_FOR_PENDING_ORDER.

§

StopLossOnFillGuaranteedNotAllowed

STOP_LOSS_ON_FILL_GUARANTEED_NOT_ALLOWED.

§

StopLossOnFillGuaranteedRequired

STOP_LOSS_ON_FILL_GUARANTEED_REQUIRED.

§

StopLossOnFillPriceMissing

STOP_LOSS_ON_FILL_PRICE_MISSING.

§

StopLossOnFillPriceInvalid

STOP_LOSS_ON_FILL_PRICE_INVALID.

§

StopLossOnFillPricePrecisionExceeded

STOP_LOSS_ON_FILL_PRICE_PRECISION_EXCEEDED.

§

StopLossOnFillGuaranteedMinimumDistanceNotMet

STOP_LOSS_ON_FILL_GUARANTEED_MINIMUM_DISTANCE_NOT_MET.

§

StopLossOnFillGuaranteedLevelRestrictionExceeded

STOP_LOSS_ON_FILL_GUARANTEED_LEVEL_RESTRICTION_EXCEEDED.

§

StopLossOnFillDistanceInvalid

STOP_LOSS_ON_FILL_DISTANCE_INVALID.

§

StopLossOnFillPriceDistanceMaximumExceeded

STOP_LOSS_ON_FILL_PRICE_DISTANCE_MAXIMUM_EXCEEDED.

§

StopLossOnFillDistancePrecisionExceeded

STOP_LOSS_ON_FILL_DISTANCE_PRECISION_EXCEEDED.

§

StopLossOnFillPriceAndDistanceBothSpecified

STOP_LOSS_ON_FILL_PRICE_AND_DISTANCE_BOTH_SPECIFIED.

§

StopLossOnFillPriceAndDistanceBothMissing

STOP_LOSS_ON_FILL_PRICE_AND_DISTANCE_BOTH_MISSING.

§

StopLossOnFillTimeInForceMissing

STOP_LOSS_ON_FILL_TIME_IN_FORCE_MISSING.

§

StopLossOnFillTimeInForceInvalid

STOP_LOSS_ON_FILL_TIME_IN_FORCE_INVALID.

§

StopLossOnFillGtdTimestampMissing

STOP_LOSS_ON_FILL_GTD_TIMESTAMP_MISSING.

§

StopLossOnFillGtdTimestampInPast

STOP_LOSS_ON_FILL_GTD_TIMESTAMP_IN_PAST.

§

StopLossOnFillClientOrderIdInvalid

STOP_LOSS_ON_FILL_CLIENT_ORDER_ID_INVALID.

§

StopLossOnFillClientOrderTagInvalid

STOP_LOSS_ON_FILL_CLIENT_ORDER_TAG_INVALID.

§

StopLossOnFillClientOrderCommentInvalid

STOP_LOSS_ON_FILL_CLIENT_ORDER_COMMENT_INVALID.

§

StopLossOnFillTriggerConditionMissing

STOP_LOSS_ON_FILL_TRIGGER_CONDITION_MISSING.

§

StopLossOnFillTriggerConditionInvalid

STOP_LOSS_ON_FILL_TRIGGER_CONDITION_INVALID.

§

TrailingStopLossOrderAlreadyExists

TRAILING_STOP_LOSS_ORDER_ALREADY_EXISTS.

§

TrailingStopLossOnFillPriceDistanceMissing

TRAILING_STOP_LOSS_ON_FILL_PRICE_DISTANCE_MISSING.

§

TrailingStopLossOnFillPriceDistanceInvalid

TRAILING_STOP_LOSS_ON_FILL_PRICE_DISTANCE_INVALID.

§

TrailingStopLossOnFillPriceDistancePrecisionExceeded

TRAILING_STOP_LOSS_ON_FILL_PRICE_DISTANCE_PRECISION_EXCEEDED.

§

TrailingStopLossOnFillPriceDistanceMaximumExceeded

TRAILING_STOP_LOSS_ON_FILL_PRICE_DISTANCE_MAXIMUM_EXCEEDED.

§

TrailingStopLossOnFillPriceDistanceMinimumNotMet

TRAILING_STOP_LOSS_ON_FILL_PRICE_DISTANCE_MINIMUM_NOT_MET.

§

TrailingStopLossOnFillTimeInForceMissing

TRAILING_STOP_LOSS_ON_FILL_TIME_IN_FORCE_MISSING.

§

TrailingStopLossOnFillTimeInForceInvalid

TRAILING_STOP_LOSS_ON_FILL_TIME_IN_FORCE_INVALID.

§

TrailingStopLossOnFillGtdTimestampMissing

TRAILING_STOP_LOSS_ON_FILL_GTD_TIMESTAMP_MISSING.

§

TrailingStopLossOnFillGtdTimestampInPast

TRAILING_STOP_LOSS_ON_FILL_GTD_TIMESTAMP_IN_PAST.

§

TrailingStopLossOnFillClientOrderIdInvalid

TRAILING_STOP_LOSS_ON_FILL_CLIENT_ORDER_ID_INVALID.

§

TrailingStopLossOnFillClientOrderTagInvalid

TRAILING_STOP_LOSS_ON_FILL_CLIENT_ORDER_TAG_INVALID.

§

TrailingStopLossOnFillClientOrderCommentInvalid

TRAILING_STOP_LOSS_ON_FILL_CLIENT_ORDER_COMMENT_INVALID.

§

TrailingStopLossOrdersNotSupported

TRAILING_STOP_LOSS_ORDERS_NOT_SUPPORTED.

§

TrailingStopLossOnFillTriggerConditionMissing

TRAILING_STOP_LOSS_ON_FILL_TRIGGER_CONDITION_MISSING.

§

TrailingStopLossOnFillTriggerConditionInvalid

TRAILING_STOP_LOSS_ON_FILL_TRIGGER_CONDITION_INVALID.

§

CloseTradeTypeMissing

CLOSE_TRADE_TYPE_MISSING.

§

CloseTradePartialUnitsMissing

CLOSE_TRADE_PARTIAL_UNITS_MISSING.

§

CloseTradeUnitsExceedTradeSize

CLOSE_TRADE_UNITS_EXCEED_TRADE_SIZE.

§

CloseoutPositionDoesntExist

CLOSEOUT_POSITION_DOESNT_EXIST.

§

CloseoutPositionIncompleteSpecification

CLOSEOUT_POSITION_INCOMPLETE_SPECIFICATION.

§

CloseoutPositionUnitsExceedPositionSize

CLOSEOUT_POSITION_UNITS_EXCEED_POSITION_SIZE.

§

CloseoutPositionReject

CLOSEOUT_POSITION_REJECT.

§

CloseoutPositionPartialUnitsMissing

CLOSEOUT_POSITION_PARTIAL_UNITS_MISSING.

§

MarkupGroupIdInvalid

MARKUP_GROUP_ID_INVALID.

§

PositionAggregationModeInvalid

POSITION_AGGREGATION_MODE_INVALID.

§

AdminConfigureDataMissing

ADMIN_CONFIGURE_DATA_MISSING.

§

MarginRateInvalid

MARGIN_RATE_INVALID.

§

MarginRateWouldTriggerCloseout

MARGIN_RATE_WOULD_TRIGGER_CLOSEOUT.

§

AliasInvalid

ALIAS_INVALID.

§

ClientConfigureDataMissing

CLIENT_CONFIGURE_DATA_MISSING.

§

MarginRateWouldTriggerMarginCall

MARGIN_RATE_WOULD_TRIGGER_MARGIN_CALL.

§

AmountInvalid

AMOUNT_INVALID.

§

InsufficientFunds

INSUFFICIENT_FUNDS.

§

AmountMissing

AMOUNT_MISSING.

§

FundingReasonMissing

FUNDING_REASON_MISSING.

§

ClientExtensionsDataMissing

CLIENT_EXTENSIONS_DATA_MISSING.

§

ReplacingOrderInvalid

REPLACING_ORDER_INVALID.

§

ReplacingTradeIdInvalid

REPLACING_TRADE_ID_INVALID.

§

Other(String)

A value not (yet) known to this version of the SDK.

Implementations§

Source§

impl TransactionRejectReason

Source

pub fn as_str(&self) -> &str

The canonical wire representation of this value.

Trait Implementations§

Source§

impl Clone for TransactionRejectReason

Source§

fn clone(&self) -> TransactionRejectReason

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TransactionRejectReason

Source§

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

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

impl<'de> Deserialize<'de> for TransactionRejectReason

Source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for TransactionRejectReason

Source§

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

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

impl Eq for TransactionRejectReason

Source§

impl From<&str> for TransactionRejectReason

Source§

fn from(value: &str) -> Self

Converts to this type from the input type.
Source§

impl From<String> for TransactionRejectReason

Source§

fn from(value: String) -> Self

Converts to this type from the input type.
Source§

impl FromStr for TransactionRejectReason

Source§

type Err = Infallible

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for TransactionRejectReason

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for TransactionRejectReason

Source§

fn eq(&self, other: &TransactionRejectReason) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for TransactionRejectReason

Source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for TransactionRejectReason

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<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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
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> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + 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: Sized + 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> 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, 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<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