pub trait Variants<V> {
    // Required method
    fn variants() -> Iter<'static, V>
       where V: Sized;
}
Available on crate feature curr only.
Expand description

Iter defines types that have variants that can be iterated.

Required Methods§

source

fn variants() -> Iter<'static, V>
where V: Sized,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Variants<AccountFlags> for AccountFlags

source§

impl Variants<AccountMergeResultCode> for AccountMergeResult

source§

impl Variants<AccountMergeResultCode> for AccountMergeResultCode

source§

impl Variants<AllowTrustResultCode> for AllowTrustResult

source§

impl Variants<AllowTrustResultCode> for AllowTrustResultCode

source§

impl Variants<AssetType> for Asset

source§

impl Variants<AssetType> for AssetCode

source§

impl Variants<AssetType> for AssetType

source§

impl Variants<AssetType> for ChangeTrustAsset

source§

impl Variants<AssetType> for TrustLineAsset

source§

impl Variants<BeginSponsoringFutureReservesResultCode> for BeginSponsoringFutureReservesResult

source§

impl Variants<BeginSponsoringFutureReservesResultCode> for BeginSponsoringFutureReservesResultCode

source§

impl Variants<BucketEntryType> for BucketEntry

source§

impl Variants<BucketEntryType> for BucketEntryType

source§

impl Variants<BumpSequenceResultCode> for BumpSequenceResult

source§

impl Variants<BumpSequenceResultCode> for BumpSequenceResultCode

source§

impl Variants<ChangeTrustResultCode> for ChangeTrustResult

source§

impl Variants<ChangeTrustResultCode> for ChangeTrustResultCode

source§

impl Variants<ClaimAtomType> for ClaimAtom

source§

impl Variants<ClaimAtomType> for ClaimAtomType

source§

impl Variants<ClaimClaimableBalanceResultCode> for ClaimClaimableBalanceResult

source§

impl Variants<ClaimClaimableBalanceResultCode> for ClaimClaimableBalanceResultCode

source§

impl Variants<ClaimPredicateType> for ClaimPredicate

source§

impl Variants<ClaimPredicateType> for ClaimPredicateType

source§

impl Variants<ClaimableBalanceFlags> for ClaimableBalanceFlags

source§

impl Variants<ClaimableBalanceIdType> for ClaimableBalanceId

source§

impl Variants<ClaimableBalanceIdType> for ClaimableBalanceIdType

source§

impl Variants<ClaimantType> for Claimant

source§

impl Variants<ClaimantType> for ClaimantType

source§

impl Variants<ClawbackClaimableBalanceResultCode> for ClawbackClaimableBalanceResult

source§

impl Variants<ClawbackClaimableBalanceResultCode> for ClawbackClaimableBalanceResultCode

source§

impl Variants<ClawbackResultCode> for ClawbackResult

source§

impl Variants<ClawbackResultCode> for ClawbackResultCode

source§

impl Variants<ConfigSettingId> for ConfigSettingEntry

source§

impl Variants<ConfigSettingId> for ConfigSettingId

source§

impl Variants<ContractCostType> for ContractCostType

source§

impl Variants<ContractDataDurability> for ContractDataDurability

source§

impl Variants<ContractEventType> for ContractEventType

source§

impl Variants<ContractExecutableType> for ContractExecutable

source§

impl Variants<ContractExecutableType> for ContractExecutableType

source§

impl Variants<ContractIdPreimageType> for ContractIdPreimage

source§

impl Variants<ContractIdPreimageType> for ContractIdPreimageType

source§

impl Variants<CreateAccountResultCode> for CreateAccountResult

source§

impl Variants<CreateAccountResultCode> for CreateAccountResultCode

source§

impl Variants<CreateClaimableBalanceResultCode> for CreateClaimableBalanceResult

source§

impl Variants<CreateClaimableBalanceResultCode> for CreateClaimableBalanceResultCode

source§

impl Variants<CryptoKeyType> for CryptoKeyType

source§

impl Variants<CryptoKeyType> for MuxedAccount

source§

impl Variants<EndSponsoringFutureReservesResultCode> for EndSponsoringFutureReservesResult

source§

impl Variants<EndSponsoringFutureReservesResultCode> for EndSponsoringFutureReservesResultCode

source§

impl Variants<EnvelopeType> for EnvelopeType

source§

impl Variants<EnvelopeType> for FeeBumpTransactionInnerTx

source§

impl Variants<EnvelopeType> for HashIdPreimage

source§

impl Variants<EnvelopeType> for TransactionEnvelope

source§

impl Variants<EnvelopeType> for TransactionSignaturePayloadTaggedTransaction

source§

impl Variants<ErrorCode> for ErrorCode

source§

impl Variants<ExtendFootprintTtlResultCode> for ExtendFootprintTtlResult

source§

impl Variants<ExtendFootprintTtlResultCode> for ExtendFootprintTtlResultCode

source§

impl Variants<HostFunctionType> for HostFunction

source§

impl Variants<HostFunctionType> for HostFunctionType

source§

impl Variants<InflationResultCode> for InflationResult

source§

impl Variants<InflationResultCode> for InflationResultCode

source§

impl Variants<InvokeHostFunctionResultCode> for InvokeHostFunctionResult

source§

impl Variants<InvokeHostFunctionResultCode> for InvokeHostFunctionResultCode

source§

impl Variants<IpAddrType> for IpAddrType

source§

impl Variants<IpAddrType> for PeerAddressIp

source§

impl Variants<LedgerEntryChangeType> for LedgerEntryChange

source§

impl Variants<LedgerEntryChangeType> for LedgerEntryChangeType

source§

impl Variants<LedgerEntryType> for LedgerEntryData

source§

impl Variants<LedgerEntryType> for LedgerEntryType

source§

impl Variants<LedgerEntryType> for LedgerKey

source§

impl Variants<LedgerHeaderFlags> for LedgerHeaderFlags

source§

impl Variants<LedgerUpgradeType> for LedgerUpgrade

source§

impl Variants<LedgerUpgradeType> for LedgerUpgradeType

source§

impl Variants<LiquidityPoolDepositResultCode> for LiquidityPoolDepositResult

source§

impl Variants<LiquidityPoolDepositResultCode> for LiquidityPoolDepositResultCode

source§

impl Variants<LiquidityPoolType> for LiquidityPoolEntryBody

source§

impl Variants<LiquidityPoolType> for LiquidityPoolParameters

source§

impl Variants<LiquidityPoolType> for LiquidityPoolType

source§

impl Variants<LiquidityPoolWithdrawResultCode> for LiquidityPoolWithdrawResult

source§

impl Variants<LiquidityPoolWithdrawResultCode> for LiquidityPoolWithdrawResultCode

source§

impl Variants<ManageBuyOfferResultCode> for ManageBuyOfferResult

source§

impl Variants<ManageBuyOfferResultCode> for ManageBuyOfferResultCode

source§

impl Variants<ManageDataResultCode> for ManageDataResult

source§

impl Variants<ManageDataResultCode> for ManageDataResultCode

source§

impl Variants<ManageOfferEffect> for ManageOfferEffect

source§

impl Variants<ManageOfferEffect> for ManageOfferSuccessResultOffer

source§

impl Variants<ManageSellOfferResultCode> for ManageSellOfferResult

source§

impl Variants<ManageSellOfferResultCode> for ManageSellOfferResultCode

source§

impl Variants<MemoType> for Memo

source§

impl Variants<MemoType> for MemoType

source§

impl Variants<MessageType> for MessageType

source§

impl Variants<MessageType> for StellarMessage

source§

impl Variants<OfferEntryFlags> for OfferEntryFlags

source§

impl Variants<OperationResultCode> for OperationResult

source§

impl Variants<OperationResultCode> for OperationResultCode

source§

impl Variants<OperationType> for OperationBody

source§

impl Variants<OperationType> for OperationResultTr

source§

impl Variants<OperationType> for OperationType

source§

impl Variants<PathPaymentStrictReceiveResultCode> for PathPaymentStrictReceiveResult

source§

impl Variants<PathPaymentStrictReceiveResultCode> for PathPaymentStrictReceiveResultCode

source§

impl Variants<PathPaymentStrictSendResultCode> for PathPaymentStrictSendResult

source§

impl Variants<PathPaymentStrictSendResultCode> for PathPaymentStrictSendResultCode

source§

impl Variants<PaymentResultCode> for PaymentResult

source§

impl Variants<PaymentResultCode> for PaymentResultCode

source§

impl Variants<PreconditionType> for PreconditionType

source§

impl Variants<PreconditionType> for Preconditions

source§

impl Variants<PublicKeyType> for PublicKey

source§

impl Variants<PublicKeyType> for PublicKeyType

source§

impl Variants<RestoreFootprintResultCode> for RestoreFootprintResult

source§

impl Variants<RestoreFootprintResultCode> for RestoreFootprintResultCode

source§

impl Variants<RevokeSponsorshipResultCode> for RevokeSponsorshipResult

source§

impl Variants<RevokeSponsorshipResultCode> for RevokeSponsorshipResultCode

source§

impl Variants<RevokeSponsorshipType> for RevokeSponsorshipOp

source§

impl Variants<RevokeSponsorshipType> for RevokeSponsorshipType

source§

impl Variants<ScAddressType> for ScAddress

source§

impl Variants<ScAddressType> for ScAddressType

source§

impl Variants<ScEnvMetaKind> for ScEnvMetaEntry

source§

impl Variants<ScEnvMetaKind> for ScEnvMetaKind

source§

impl Variants<ScErrorCode> for ScErrorCode

source§

impl Variants<ScErrorType> for ScError

source§

impl Variants<ScErrorType> for ScErrorType

source§

impl Variants<ScMetaKind> for ScMetaEntry

source§

impl Variants<ScMetaKind> for ScMetaKind

source§

impl Variants<ScSpecEntryKind> for ScSpecEntry

source§

impl Variants<ScSpecEntryKind> for ScSpecEntryKind

source§

impl Variants<ScSpecType> for ScSpecType

source§

impl Variants<ScSpecType> for ScSpecTypeDef

source§

impl Variants<ScSpecUdtUnionCaseV0Kind> for ScSpecUdtUnionCaseV0

source§

impl Variants<ScSpecUdtUnionCaseV0Kind> for ScSpecUdtUnionCaseV0Kind

source§

impl Variants<ScValType> for ScVal

source§

impl Variants<ScValType> for ScValType

source§

impl Variants<ScpStatementType> for ScpStatementPledges

source§

impl Variants<ScpStatementType> for ScpStatementType

source§

impl Variants<SetOptionsResultCode> for SetOptionsResult

source§

impl Variants<SetOptionsResultCode> for SetOptionsResultCode

source§

impl Variants<SetTrustLineFlagsResultCode> for SetTrustLineFlagsResult

source§

impl Variants<SetTrustLineFlagsResultCode> for SetTrustLineFlagsResultCode

source§

impl Variants<SignerKeyType> for SignerKey

source§

impl Variants<SignerKeyType> for SignerKeyType

source§

impl Variants<SorobanAuthorizedFunctionType> for SorobanAuthorizedFunction

source§

impl Variants<SorobanAuthorizedFunctionType> for SorobanAuthorizedFunctionType

source§

impl Variants<SorobanCredentialsType> for SorobanCredentials

source§

impl Variants<SorobanCredentialsType> for SorobanCredentialsType

source§

impl Variants<StellarValueType> for StellarValueExt

source§

impl Variants<StellarValueType> for StellarValueType

source§

impl Variants<SurveyMessageCommandType> for SurveyMessageCommandType

source§

impl Variants<SurveyMessageResponseType> for SurveyMessageResponseType

source§

impl Variants<SurveyMessageResponseType> for SurveyResponseBody

source§

impl Variants<ThresholdIndexes> for ThresholdIndexes

source§

impl Variants<TransactionResultCode> for InnerTransactionResultResult

source§

impl Variants<TransactionResultCode> for TransactionResultCode

source§

impl Variants<TransactionResultCode> for TransactionResultResult

source§

impl Variants<TrustLineFlags> for TrustLineFlags

source§

impl Variants<TxSetComponentType> for TxSetComponent

source§

impl Variants<TxSetComponentType> for TxSetComponentType

source§

impl Variants<TypeVariant> for Type

source§

impl Variants<TypeVariant> for TypeVariant

source§

impl Variants<i32> for AccountEntryExt

source§

impl Variants<i32> for AccountEntryExtensionV1Ext

source§

impl Variants<i32> for AccountEntryExtensionV2Ext

source§

impl Variants<i32> for BucketMetadataExt

source§

impl Variants<i32> for ClaimableBalanceEntryExt

source§

impl Variants<i32> for ClaimableBalanceEntryExtensionV1Ext

source§

impl Variants<i32> for ContractEventBody

source§

impl Variants<i32> for DataEntryExt

source§

impl Variants<i32> for ExtensionPoint

source§

impl Variants<i32> for FeeBumpTransactionExt

source§

impl Variants<i32> for GeneralizedTransactionSet

source§

impl Variants<i32> for InnerTransactionResultExt

source§

impl Variants<i32> for LedgerCloseMeta

source§

impl Variants<i32> for LedgerEntryExt

source§

impl Variants<i32> for LedgerEntryExtensionV1Ext

source§

impl Variants<i32> for LedgerHeaderExt

source§

impl Variants<i32> for LedgerHeaderExtensionV1Ext

source§

impl Variants<i32> for LedgerHeaderHistoryEntryExt

source§

impl Variants<i32> for OfferEntryExt

source§

impl Variants<i32> for PersistedScpState

source§

impl Variants<i32> for ScpHistoryEntry

source§

impl Variants<i32> for StoredTransactionSet

source§

impl Variants<i32> for TransactionExt

source§

impl Variants<i32> for TransactionHistoryEntryExt

source§

impl Variants<i32> for TransactionHistoryResultEntryExt

source§

impl Variants<i32> for TransactionMeta

source§

impl Variants<i32> for TransactionPhase

source§

impl Variants<i32> for TransactionResultExt

source§

impl Variants<i32> for TransactionV0Ext

source§

impl Variants<i32> for TrustLineEntryExt

source§

impl Variants<i32> for TrustLineEntryExtensionV2Ext

source§

impl Variants<i32> for TrustLineEntryV1Ext

source§

impl Variants<u32> for AuthenticatedMessage