Trait soroban_sdk::xdr::Variants

pub trait Variants<V> {
    // Required method
    fn variants() -> Iter<'static, V>;
}
Expand description

Iter defines types that have variants that can be iterated.

Required Methods§

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

Object Safety§

This trait is not object safe.

Implementors§

§

impl Variants<ContractCostType> for ContractCostType

§

impl Variants<AccountFlags> for AccountFlags

§

impl Variants<AccountMergeResultCode> for AccountMergeResult

§

impl Variants<AccountMergeResultCode> for AccountMergeResultCode

§

impl Variants<AllowTrustResultCode> for AllowTrustResult

§

impl Variants<AllowTrustResultCode> for AllowTrustResultCode

§

impl Variants<AssetType> for Asset

§

impl Variants<AssetType> for AssetCode

§

impl Variants<AssetType> for AssetType

§

impl Variants<AssetType> for ChangeTrustAsset

§

impl Variants<AssetType> for TrustLineAsset

§

impl Variants<BeginSponsoringFutureReservesResultCode> for BeginSponsoringFutureReservesResult

§

impl Variants<BeginSponsoringFutureReservesResultCode> for BeginSponsoringFutureReservesResultCode

§

impl Variants<BucketEntryType> for BucketEntry

§

impl Variants<BucketEntryType> for BucketEntryType

§

impl Variants<BumpSequenceResultCode> for BumpSequenceResult

§

impl Variants<BumpSequenceResultCode> for BumpSequenceResultCode

§

impl Variants<ChangeTrustResultCode> for ChangeTrustResult

§

impl Variants<ChangeTrustResultCode> for ChangeTrustResultCode

§

impl Variants<ClaimAtomType> for ClaimAtom

§

impl Variants<ClaimAtomType> for ClaimAtomType

§

impl Variants<ClaimClaimableBalanceResultCode> for ClaimClaimableBalanceResult

§

impl Variants<ClaimClaimableBalanceResultCode> for ClaimClaimableBalanceResultCode

§

impl Variants<ClaimPredicateType> for ClaimPredicate

§

impl Variants<ClaimPredicateType> for ClaimPredicateType

§

impl Variants<ClaimableBalanceFlags> for ClaimableBalanceFlags

§

impl Variants<ClaimableBalanceIdType> for ClaimableBalanceId

§

impl Variants<ClaimableBalanceIdType> for ClaimableBalanceIdType

§

impl Variants<ClaimantType> for Claimant

§

impl Variants<ClaimantType> for ClaimantType

§

impl Variants<ClawbackClaimableBalanceResultCode> for ClawbackClaimableBalanceResult

§

impl Variants<ClawbackClaimableBalanceResultCode> for ClawbackClaimableBalanceResultCode

§

impl Variants<ClawbackResultCode> for ClawbackResult

§

impl Variants<ClawbackResultCode> for ClawbackResultCode

§

impl Variants<ConfigSettingId> for ConfigSettingEntry

§

impl Variants<ConfigSettingId> for ConfigSettingId

§

impl Variants<ContractDataDurability> for ContractDataDurability

§

impl Variants<ContractEventType> for ContractEventType

§

impl Variants<ContractExecutableType> for ContractExecutable

§

impl Variants<ContractExecutableType> for ContractExecutableType

§

impl Variants<ContractIdPreimageType> for ContractIdPreimage

§

impl Variants<ContractIdPreimageType> for ContractIdPreimageType

§

impl Variants<CreateAccountResultCode> for CreateAccountResult

§

impl Variants<CreateAccountResultCode> for CreateAccountResultCode

§

impl Variants<CreateClaimableBalanceResultCode> for CreateClaimableBalanceResult

§

impl Variants<CreateClaimableBalanceResultCode> for CreateClaimableBalanceResultCode

§

impl Variants<CryptoKeyType> for CryptoKeyType

§

impl Variants<CryptoKeyType> for MuxedAccount

§

impl Variants<EndSponsoringFutureReservesResultCode> for EndSponsoringFutureReservesResult

§

impl Variants<EndSponsoringFutureReservesResultCode> for EndSponsoringFutureReservesResultCode

§

impl Variants<EnvelopeType> for EnvelopeType

§

impl Variants<EnvelopeType> for FeeBumpTransactionInnerTx

§

impl Variants<EnvelopeType> for HashIdPreimage

§

impl Variants<EnvelopeType> for TransactionEnvelope

§

impl Variants<EnvelopeType> for TransactionSignaturePayloadTaggedTransaction

§

impl Variants<ErrorCode> for ErrorCode

§

impl Variants<ExtendFootprintTtlResultCode> for ExtendFootprintTtlResult

§

impl Variants<ExtendFootprintTtlResultCode> for ExtendFootprintTtlResultCode

§

impl Variants<HostFunctionType> for HostFunction

§

impl Variants<HostFunctionType> for HostFunctionType

§

impl Variants<InflationResultCode> for InflationResult

§

impl Variants<InflationResultCode> for InflationResultCode

§

impl Variants<InvokeHostFunctionResultCode> for InvokeHostFunctionResult

§

impl Variants<InvokeHostFunctionResultCode> for InvokeHostFunctionResultCode

§

impl Variants<IpAddrType> for IpAddrType

§

impl Variants<IpAddrType> for PeerAddressIp

§

impl Variants<LedgerEntryChangeType> for LedgerEntryChange

§

impl Variants<LedgerEntryChangeType> for LedgerEntryChangeType

§

impl Variants<LedgerEntryType> for LedgerEntryData

§

impl Variants<LedgerEntryType> for LedgerEntryType

§

impl Variants<LedgerEntryType> for LedgerKey

§

impl Variants<LedgerHeaderFlags> for LedgerHeaderFlags

§

impl Variants<LedgerUpgradeType> for LedgerUpgrade

§

impl Variants<LedgerUpgradeType> for LedgerUpgradeType

§

impl Variants<LiquidityPoolDepositResultCode> for LiquidityPoolDepositResult

§

impl Variants<LiquidityPoolDepositResultCode> for LiquidityPoolDepositResultCode

§

impl Variants<LiquidityPoolType> for LiquidityPoolEntryBody

§

impl Variants<LiquidityPoolType> for LiquidityPoolParameters

§

impl Variants<LiquidityPoolType> for LiquidityPoolType

§

impl Variants<LiquidityPoolWithdrawResultCode> for LiquidityPoolWithdrawResult

§

impl Variants<LiquidityPoolWithdrawResultCode> for LiquidityPoolWithdrawResultCode

§

impl Variants<ManageBuyOfferResultCode> for ManageBuyOfferResult

§

impl Variants<ManageBuyOfferResultCode> for ManageBuyOfferResultCode

§

impl Variants<ManageDataResultCode> for ManageDataResult

§

impl Variants<ManageDataResultCode> for ManageDataResultCode

§

impl Variants<ManageOfferEffect> for ManageOfferEffect

§

impl Variants<ManageOfferEffect> for ManageOfferSuccessResultOffer

§

impl Variants<ManageSellOfferResultCode> for ManageSellOfferResult

§

impl Variants<ManageSellOfferResultCode> for ManageSellOfferResultCode

§

impl Variants<MemoType> for Memo

§

impl Variants<MemoType> for MemoType

§

impl Variants<MessageType> for MessageType

§

impl Variants<MessageType> for StellarMessage

§

impl Variants<OfferEntryFlags> for OfferEntryFlags

§

impl Variants<OperationResultCode> for OperationResult

§

impl Variants<OperationResultCode> for OperationResultCode

§

impl Variants<OperationType> for OperationBody

§

impl Variants<OperationType> for OperationResultTr

§

impl Variants<OperationType> for OperationType

§

impl Variants<PathPaymentStrictReceiveResultCode> for PathPaymentStrictReceiveResult

§

impl Variants<PathPaymentStrictReceiveResultCode> for PathPaymentStrictReceiveResultCode

§

impl Variants<PathPaymentStrictSendResultCode> for PathPaymentStrictSendResult

§

impl Variants<PathPaymentStrictSendResultCode> for PathPaymentStrictSendResultCode

§

impl Variants<PaymentResultCode> for PaymentResult

§

impl Variants<PaymentResultCode> for PaymentResultCode

§

impl Variants<PreconditionType> for PreconditionType

§

impl Variants<PreconditionType> for Preconditions

§

impl Variants<PublicKeyType> for PublicKey

§

impl Variants<PublicKeyType> for PublicKeyType

§

impl Variants<RestoreFootprintResultCode> for RestoreFootprintResult

§

impl Variants<RestoreFootprintResultCode> for RestoreFootprintResultCode

§

impl Variants<RevokeSponsorshipResultCode> for RevokeSponsorshipResult

§

impl Variants<RevokeSponsorshipResultCode> for RevokeSponsorshipResultCode

§

impl Variants<RevokeSponsorshipType> for RevokeSponsorshipOp

§

impl Variants<RevokeSponsorshipType> for RevokeSponsorshipType

§

impl Variants<ScAddressType> for ScAddress

§

impl Variants<ScAddressType> for ScAddressType

§

impl Variants<ScEnvMetaKind> for ScEnvMetaEntry

§

impl Variants<ScEnvMetaKind> for ScEnvMetaKind

§

impl Variants<ScErrorCode> for ScErrorCode

§

impl Variants<ScErrorType> for ScError

§

impl Variants<ScErrorType> for ScErrorType

§

impl Variants<ScMetaKind> for ScMetaEntry

§

impl Variants<ScMetaKind> for ScMetaKind

§

impl Variants<ScSpecEntryKind> for ScSpecEntry

§

impl Variants<ScSpecEntryKind> for ScSpecEntryKind

§

impl Variants<ScSpecType> for ScSpecType

§

impl Variants<ScSpecType> for ScSpecTypeDef

§

impl Variants<ScSpecUdtUnionCaseV0Kind> for ScSpecUdtUnionCaseV0

§

impl Variants<ScSpecUdtUnionCaseV0Kind> for ScSpecUdtUnionCaseV0Kind

§

impl Variants<ScValType> for ScVal

§

impl Variants<ScValType> for ScValType

§

impl Variants<ScpStatementType> for ScpStatementPledges

§

impl Variants<ScpStatementType> for ScpStatementType

§

impl Variants<SetOptionsResultCode> for SetOptionsResult

§

impl Variants<SetOptionsResultCode> for SetOptionsResultCode

§

impl Variants<SetTrustLineFlagsResultCode> for SetTrustLineFlagsResult

§

impl Variants<SetTrustLineFlagsResultCode> for SetTrustLineFlagsResultCode

§

impl Variants<SignerKeyType> for SignerKey

§

impl Variants<SignerKeyType> for SignerKeyType

§

impl Variants<SorobanAuthorizedFunctionType> for SorobanAuthorizedFunction

§

impl Variants<SorobanAuthorizedFunctionType> for SorobanAuthorizedFunctionType

§

impl Variants<SorobanCredentialsType> for SorobanCredentials

§

impl Variants<SorobanCredentialsType> for SorobanCredentialsType

§

impl Variants<StellarValueType> for StellarValueExt

§

impl Variants<StellarValueType> for StellarValueType

§

impl Variants<SurveyMessageCommandType> for SurveyMessageCommandType

§

impl Variants<SurveyMessageResponseType> for SurveyMessageResponseType

§

impl Variants<SurveyMessageResponseType> for SurveyResponseBody

§

impl Variants<ThresholdIndexes> for ThresholdIndexes

§

impl Variants<TransactionResultCode> for InnerTransactionResultResult

§

impl Variants<TransactionResultCode> for TransactionResultCode

§

impl Variants<TransactionResultCode> for TransactionResultResult

§

impl Variants<TrustLineFlags> for TrustLineFlags

§

impl Variants<TxSetComponentType> for TxSetComponent

§

impl Variants<TxSetComponentType> for TxSetComponentType

§

impl Variants<TypeVariant> for Type

§

impl Variants<TypeVariant> for TypeVariant

§

impl Variants<i32> for AccountEntryExt

§

impl Variants<i32> for AccountEntryExtensionV1Ext

§

impl Variants<i32> for AccountEntryExtensionV2Ext

§

impl Variants<i32> for BucketMetadataExt

§

impl Variants<i32> for ClaimableBalanceEntryExt

§

impl Variants<i32> for ClaimableBalanceEntryExtensionV1Ext

§

impl Variants<i32> for ContractEventBody

§

impl Variants<i32> for DataEntryExt

§

impl Variants<i32> for ExtensionPoint

§

impl Variants<i32> for FeeBumpTransactionExt

§

impl Variants<i32> for GeneralizedTransactionSet

§

impl Variants<i32> for InnerTransactionResultExt

§

impl Variants<i32> for LedgerCloseMeta

§

impl Variants<i32> for LedgerEntryExt

§

impl Variants<i32> for LedgerEntryExtensionV1Ext

§

impl Variants<i32> for LedgerHeaderExt

§

impl Variants<i32> for LedgerHeaderExtensionV1Ext

§

impl Variants<i32> for LedgerHeaderHistoryEntryExt

§

impl Variants<i32> for OfferEntryExt

§

impl Variants<i32> for PersistedScpState

§

impl Variants<i32> for ScpHistoryEntry

§

impl Variants<i32> for StoredTransactionSet

§

impl Variants<i32> for TransactionExt

§

impl Variants<i32> for TransactionHistoryEntryExt

§

impl Variants<i32> for TransactionHistoryResultEntryExt

§

impl Variants<i32> for TransactionMeta

§

impl Variants<i32> for TransactionPhase

§

impl Variants<i32> for TransactionResultExt

§

impl Variants<i32> for TransactionV0Ext

§

impl Variants<i32> for TrustLineEntryExt

§

impl Variants<i32> for TrustLineEntryExtensionV2Ext

§

impl Variants<i32> for TrustLineEntryV1Ext

§

impl Variants<u32> for AuthenticatedMessage