pub enum TypeVariant {
Show 375 variants Value, ScpBallot, ScpStatementType, ScpNomination, ScpStatement, ScpStatementPledges, ScpStatementPrepare, ScpStatementConfirm, ScpStatementExternalize, ScpEnvelope, ScpQuorumSet, Thresholds, String32, String64, SequenceNumber, TimePoint, Duration, DataValue, PoolId, AssetCode4, AssetCode12, AssetType, AssetCode, AlphaNum4, AlphaNum12, Asset, Price, Liabilities, ThresholdIndexes, LedgerEntryType, Signer, AccountFlags, SponsorshipDescriptor, AccountEntryExtensionV3, AccountEntryExtensionV2, AccountEntryExtensionV2Ext, AccountEntryExtensionV1, AccountEntryExtensionV1Ext, AccountEntry, AccountEntryExt, TrustLineFlags, LiquidityPoolType, TrustLineAsset, TrustLineEntryExtensionV2, TrustLineEntryExtensionV2Ext, TrustLineEntry, TrustLineEntryExt, TrustLineEntryV1, TrustLineEntryV1Ext, OfferEntryFlags, OfferEntry, OfferEntryExt, DataEntry, DataEntryExt, ClaimPredicateType, ClaimPredicate, ClaimantType, Claimant, ClaimantV0, ClaimableBalanceIdType, ClaimableBalanceId, ClaimableBalanceFlags, ClaimableBalanceEntryExtensionV1, ClaimableBalanceEntryExtensionV1Ext, ClaimableBalanceEntry, ClaimableBalanceEntryExt, LiquidityPoolConstantProductParameters, LiquidityPoolEntry, LiquidityPoolEntryBody, LiquidityPoolEntryConstantProduct, ContractDataEntry, ConfigSettingType, ConfigSetting, ConfigSettingId, ConfigSettingEntry, ConfigSettingEntryExt, LedgerEntryExtensionV1, LedgerEntryExtensionV1Ext, LedgerEntry, LedgerEntryData, LedgerEntryExt, LedgerKey, LedgerKeyAccount, LedgerKeyTrustLine, LedgerKeyOffer, LedgerKeyData, LedgerKeyClaimableBalance, LedgerKeyLiquidityPool, LedgerKeyContractData, LedgerKeyConfigSetting, EnvelopeType, UpgradeType, StellarValueType, LedgerCloseValueSignature, StellarValue, StellarValueExt, LedgerHeaderFlags, LedgerHeaderExtensionV1, LedgerHeaderExtensionV1Ext, LedgerHeader, LedgerHeaderExt, LedgerUpgradeType, LedgerUpgrade, LedgerUpgradeConfigSetting, BucketEntryType, BucketMetadata, BucketMetadataExt, BucketEntry, TxSetComponentType, TxSetComponent, TxSetComponentTxsMaybeDiscountedFee, TransactionPhase, TransactionSet, TransactionSetV1, GeneralizedTransactionSet, TransactionResultPair, TransactionResultSet, TransactionHistoryEntry, TransactionHistoryEntryExt, TransactionHistoryResultEntry, TransactionHistoryResultEntryExt, TransactionResultPairV2, TransactionResultSetV2, TransactionHistoryResultEntryV2, TransactionHistoryResultEntryV2Ext, LedgerHeaderHistoryEntry, LedgerHeaderHistoryEntryExt, LedgerScpMessages, ScpHistoryEntryV0, ScpHistoryEntry, LedgerEntryChangeType, LedgerEntryChange, LedgerEntryChanges, OperationMeta, TransactionMetaV1, TransactionMetaV2, ContractEventType, ContractEvent, ContractEventBody, ContractEventV0, TransactionMetaV3, TransactionMeta, TransactionResultMeta, TransactionResultMetaV2, UpgradeEntryMeta, LedgerCloseMetaV0, LedgerCloseMetaV1, LedgerCloseMetaV2, LedgerCloseMeta, ErrorCode, SError, SendMore, AuthCert, Hello, Auth, IpAddrType, PeerAddress, PeerAddressIp, MessageType, DontHave, SurveyMessageCommandType, SurveyRequestMessage, SignedSurveyRequestMessage, EncryptedBody, SurveyResponseMessage, SignedSurveyResponseMessage, PeerStats, PeerStatList, TopologyResponseBody, TxAdvertVector, FloodAdvert, TxDemandVector, FloodDemand, SurveyResponseBody, StellarMessage, AuthenticatedMessage, AuthenticatedMessageV0, LiquidityPoolParameters, MuxedAccount, MuxedAccountMed25519, DecoratedSignature, LedgerFootprint, OperationType, CreateAccountOp, PaymentOp, PathPaymentStrictReceiveOp, PathPaymentStrictSendOp, ManageSellOfferOp, ManageBuyOfferOp, CreatePassiveSellOfferOp, SetOptionsOp, ChangeTrustAsset, ChangeTrustOp, AllowTrustOp, ManageDataOp, BumpSequenceOp, CreateClaimableBalanceOp, ClaimClaimableBalanceOp, BeginSponsoringFutureReservesOp, RevokeSponsorshipType, RevokeSponsorshipOp, RevokeSponsorshipOpSigner, ClawbackOp, ClawbackClaimableBalanceOp, SetTrustLineFlagsOp, LiquidityPoolDepositOp, LiquidityPoolWithdrawOp, HostFunction, InvokeHostFunctionOp, Operation, OperationBody, HashIdPreimage, HashIdPreimageOperationId, HashIdPreimageRevokeId, HashIdPreimageEd25519ContractId, HashIdPreimageContractId, HashIdPreimageSourceAccountContractId, MemoType, Memo, TimeBounds, LedgerBounds, PreconditionsV2, PreconditionType, Preconditions, TransactionV0, TransactionV0Ext, TransactionV0Envelope, Transaction, TransactionExt, TransactionV1Envelope, FeeBumpTransaction, FeeBumpTransactionInnerTx, FeeBumpTransactionExt, FeeBumpTransactionEnvelope, TransactionEnvelope, TransactionSignaturePayload, TransactionSignaturePayloadTaggedTransaction, ClaimAtomType, ClaimOfferAtomV0, ClaimOfferAtom, ClaimLiquidityAtom, ClaimAtom, CreateAccountResultCode, CreateAccountResult, PaymentResultCode, PaymentResult, PathPaymentStrictReceiveResultCode, SimplePaymentResult, PathPaymentStrictReceiveResult, PathPaymentStrictReceiveResultSuccess, PathPaymentStrictSendResultCode, PathPaymentStrictSendResult, PathPaymentStrictSendResultSuccess, ManageSellOfferResultCode, ManageOfferEffect, ManageOfferSuccessResult, ManageOfferSuccessResultOffer, ManageSellOfferResult, ManageBuyOfferResultCode, ManageBuyOfferResult, SetOptionsResultCode, SetOptionsResult, ChangeTrustResultCode, ChangeTrustResult, AllowTrustResultCode, AllowTrustResult, AccountMergeResultCode, AccountMergeResult, InflationResultCode, InflationPayout, InflationResult, ManageDataResultCode, ManageDataResult, BumpSequenceResultCode, BumpSequenceResult, CreateClaimableBalanceResultCode, CreateClaimableBalanceResult, ClaimClaimableBalanceResultCode, ClaimClaimableBalanceResult, BeginSponsoringFutureReservesResultCode, BeginSponsoringFutureReservesResult, EndSponsoringFutureReservesResultCode, EndSponsoringFutureReservesResult, RevokeSponsorshipResultCode, RevokeSponsorshipResult, ClawbackResultCode, ClawbackResult, ClawbackClaimableBalanceResultCode, ClawbackClaimableBalanceResult, SetTrustLineFlagsResultCode, SetTrustLineFlagsResult, LiquidityPoolDepositResultCode, LiquidityPoolDepositResult, LiquidityPoolWithdrawResultCode, LiquidityPoolWithdrawResult, InvokeHostFunctionResultCode, InvokeHostFunctionResult, OperationResultCode, OperationResult, OperationResultTr, TransactionResultCode, InnerTransactionResult, InnerTransactionResultResult, InnerTransactionResultExt, InnerTransactionResultPair, TransactionResult, TransactionResultResult, TransactionResultExt, Hash, Uint256, Uint32, Int32, Uint64, Int64, ExtensionPoint, CryptoKeyType, PublicKeyType, SignerKeyType, PublicKey, SignerKey, SignerKeyEd25519SignedPayload, Signature, SignatureHint, NodeId, AccountId, Curve25519Secret, Curve25519Public, HmacSha256Key, HmacSha256Mac, ScSymbol, ScValType, ScStatic, ScStatusType, ScHostValErrorCode, ScHostObjErrorCode, ScHostFnErrorCode, ScHostStorageErrorCode, ScHostContextErrorCode, ScVmErrorCode, ScUnknownErrorCode, ScStatus, ScVal, ScObjectType, ScMapEntry, ScVec, ScMap, ScNumSign, ScBigInt, ScContractCodeType, ScContractCode, ScObject, ScEnvMetaKind, ScEnvMetaEntry, ScSpecType, ScSpecTypeOption, ScSpecTypeResult, ScSpecTypeVec, ScSpecTypeMap, ScSpecTypeSet, ScSpecTypeTuple, ScSpecTypeBytesN, ScSpecTypeUdt, ScSpecTypeDef, ScSpecUdtStructFieldV0, ScSpecUdtStructV0, ScSpecUdtUnionCaseV0, ScSpecUdtUnionV0, ScSpecUdtEnumCaseV0, ScSpecUdtEnumV0, ScSpecUdtErrorEnumCaseV0, ScSpecUdtErrorEnumV0, ScSpecFunctionInputV0, ScSpecFunctionV0, ScSpecEntryKind, ScSpecEntry,
}

Variants

Value

ScpBallot

ScpStatementType

ScpNomination

ScpStatement

ScpStatementPledges

ScpStatementPrepare

ScpStatementConfirm

ScpStatementExternalize

ScpEnvelope

ScpQuorumSet

Thresholds

String32

String64

SequenceNumber

TimePoint

Duration

DataValue

PoolId

AssetCode4

AssetCode12

AssetType

AssetCode

AlphaNum4

AlphaNum12

Asset

Price

Liabilities

ThresholdIndexes

LedgerEntryType

Signer

AccountFlags

SponsorshipDescriptor

AccountEntryExtensionV3

AccountEntryExtensionV2

AccountEntryExtensionV2Ext

AccountEntryExtensionV1

AccountEntryExtensionV1Ext

AccountEntry

AccountEntryExt

TrustLineFlags

LiquidityPoolType

TrustLineAsset

TrustLineEntryExtensionV2

TrustLineEntryExtensionV2Ext

TrustLineEntry

TrustLineEntryExt

TrustLineEntryV1

TrustLineEntryV1Ext

OfferEntryFlags

OfferEntry

OfferEntryExt

DataEntry

DataEntryExt

ClaimPredicateType

ClaimPredicate

ClaimantType

Claimant

ClaimantV0

ClaimableBalanceIdType

ClaimableBalanceId

ClaimableBalanceFlags

ClaimableBalanceEntryExtensionV1

ClaimableBalanceEntryExtensionV1Ext

ClaimableBalanceEntry

ClaimableBalanceEntryExt

LiquidityPoolConstantProductParameters

LiquidityPoolEntry

LiquidityPoolEntryBody

LiquidityPoolEntryConstantProduct

ContractDataEntry

ConfigSettingType

ConfigSetting

ConfigSettingId

ConfigSettingEntry

ConfigSettingEntryExt

LedgerEntryExtensionV1

LedgerEntryExtensionV1Ext

LedgerEntry

LedgerEntryData

LedgerEntryExt

LedgerKey

LedgerKeyAccount

LedgerKeyTrustLine

LedgerKeyOffer

LedgerKeyData

LedgerKeyClaimableBalance

LedgerKeyLiquidityPool

LedgerKeyContractData

LedgerKeyConfigSetting

EnvelopeType

UpgradeType

StellarValueType

LedgerCloseValueSignature

StellarValue

StellarValueExt

LedgerHeaderFlags

LedgerHeaderExtensionV1

LedgerHeaderExtensionV1Ext

LedgerHeader

LedgerHeaderExt

LedgerUpgradeType

LedgerUpgrade

LedgerUpgradeConfigSetting

BucketEntryType

BucketMetadata

BucketMetadataExt

BucketEntry

TxSetComponentType

TxSetComponent

TxSetComponentTxsMaybeDiscountedFee

TransactionPhase

TransactionSet

TransactionSetV1

GeneralizedTransactionSet

TransactionResultPair

TransactionResultSet

TransactionHistoryEntry

TransactionHistoryEntryExt

TransactionHistoryResultEntry

TransactionHistoryResultEntryExt

TransactionResultPairV2

TransactionResultSetV2

TransactionHistoryResultEntryV2

TransactionHistoryResultEntryV2Ext

LedgerHeaderHistoryEntry

LedgerHeaderHistoryEntryExt

LedgerScpMessages

ScpHistoryEntryV0

ScpHistoryEntry

LedgerEntryChangeType

LedgerEntryChange

LedgerEntryChanges

OperationMeta

TransactionMetaV1

TransactionMetaV2

ContractEventType

ContractEvent

ContractEventBody

ContractEventV0

TransactionMetaV3

TransactionMeta

TransactionResultMeta

TransactionResultMetaV2

UpgradeEntryMeta

LedgerCloseMetaV0

LedgerCloseMetaV1

LedgerCloseMetaV2

LedgerCloseMeta

ErrorCode

SError

SendMore

AuthCert

Hello

Auth

IpAddrType

PeerAddress

PeerAddressIp

MessageType

DontHave

SurveyMessageCommandType

SurveyRequestMessage

SignedSurveyRequestMessage

EncryptedBody

SurveyResponseMessage

SignedSurveyResponseMessage

PeerStats

PeerStatList

TopologyResponseBody

TxAdvertVector

FloodAdvert

TxDemandVector

FloodDemand

SurveyResponseBody

StellarMessage

AuthenticatedMessage

AuthenticatedMessageV0

LiquidityPoolParameters

MuxedAccount

MuxedAccountMed25519

DecoratedSignature

LedgerFootprint

OperationType

CreateAccountOp

PaymentOp

PathPaymentStrictReceiveOp

PathPaymentStrictSendOp

ManageSellOfferOp

ManageBuyOfferOp

CreatePassiveSellOfferOp

SetOptionsOp

ChangeTrustAsset

ChangeTrustOp

AllowTrustOp

ManageDataOp

BumpSequenceOp

CreateClaimableBalanceOp

ClaimClaimableBalanceOp

BeginSponsoringFutureReservesOp

RevokeSponsorshipType

RevokeSponsorshipOp

RevokeSponsorshipOpSigner

ClawbackOp

ClawbackClaimableBalanceOp

SetTrustLineFlagsOp

LiquidityPoolDepositOp

LiquidityPoolWithdrawOp

HostFunction

InvokeHostFunctionOp

Operation

OperationBody

HashIdPreimage

HashIdPreimageOperationId

HashIdPreimageRevokeId

HashIdPreimageEd25519ContractId

HashIdPreimageContractId

HashIdPreimageSourceAccountContractId

MemoType

Memo

TimeBounds

LedgerBounds

PreconditionsV2

PreconditionType

Preconditions

TransactionV0

TransactionV0Ext

TransactionV0Envelope

Transaction

TransactionExt

TransactionV1Envelope

FeeBumpTransaction

FeeBumpTransactionInnerTx

FeeBumpTransactionExt

FeeBumpTransactionEnvelope

TransactionEnvelope

TransactionSignaturePayload

TransactionSignaturePayloadTaggedTransaction

ClaimAtomType

ClaimOfferAtomV0

ClaimOfferAtom

ClaimLiquidityAtom

ClaimAtom

CreateAccountResultCode

CreateAccountResult

PaymentResultCode

PaymentResult

PathPaymentStrictReceiveResultCode

SimplePaymentResult

PathPaymentStrictReceiveResult

PathPaymentStrictReceiveResultSuccess

PathPaymentStrictSendResultCode

PathPaymentStrictSendResult

PathPaymentStrictSendResultSuccess

ManageSellOfferResultCode

ManageOfferEffect

ManageOfferSuccessResult

ManageOfferSuccessResultOffer

ManageSellOfferResult

ManageBuyOfferResultCode

ManageBuyOfferResult

SetOptionsResultCode

SetOptionsResult

ChangeTrustResultCode

ChangeTrustResult

AllowTrustResultCode

AllowTrustResult

AccountMergeResultCode

AccountMergeResult

InflationResultCode

InflationPayout

InflationResult

ManageDataResultCode

ManageDataResult

BumpSequenceResultCode

BumpSequenceResult

CreateClaimableBalanceResultCode

CreateClaimableBalanceResult

ClaimClaimableBalanceResultCode

ClaimClaimableBalanceResult

BeginSponsoringFutureReservesResultCode

BeginSponsoringFutureReservesResult

EndSponsoringFutureReservesResultCode

EndSponsoringFutureReservesResult

RevokeSponsorshipResultCode

RevokeSponsorshipResult

ClawbackResultCode

ClawbackResult

ClawbackClaimableBalanceResultCode

ClawbackClaimableBalanceResult

SetTrustLineFlagsResultCode

SetTrustLineFlagsResult

LiquidityPoolDepositResultCode

LiquidityPoolDepositResult

LiquidityPoolWithdrawResultCode

LiquidityPoolWithdrawResult

InvokeHostFunctionResultCode

InvokeHostFunctionResult

OperationResultCode

OperationResult

OperationResultTr

TransactionResultCode

InnerTransactionResult

InnerTransactionResultResult

InnerTransactionResultExt

InnerTransactionResultPair

TransactionResult

TransactionResultResult

TransactionResultExt

Hash

Uint256

Uint32

Int32

Uint64

Int64

ExtensionPoint

CryptoKeyType

PublicKeyType

SignerKeyType

PublicKey

SignerKey

SignerKeyEd25519SignedPayload

Signature

SignatureHint

NodeId

AccountId

Curve25519Secret

Curve25519Public

HmacSha256Key

HmacSha256Mac

ScSymbol

ScValType

ScStatic

ScStatusType

ScHostValErrorCode

ScHostObjErrorCode

ScHostFnErrorCode

ScHostStorageErrorCode

ScHostContextErrorCode

ScVmErrorCode

ScUnknownErrorCode

ScStatus

ScVal

ScObjectType

ScMapEntry

ScVec

ScMap

ScNumSign

ScBigInt

ScContractCodeType

ScContractCode

ScObject

ScEnvMetaKind

ScEnvMetaEntry

ScSpecType

ScSpecTypeOption

ScSpecTypeResult

ScSpecTypeVec

ScSpecTypeMap

ScSpecTypeSet

ScSpecTypeTuple

ScSpecTypeBytesN

ScSpecTypeUdt

ScSpecTypeDef

ScSpecUdtStructFieldV0

ScSpecUdtStructV0

ScSpecUdtUnionCaseV0

ScSpecUdtUnionV0

ScSpecUdtEnumCaseV0

ScSpecUdtEnumV0

ScSpecUdtErrorEnumCaseV0

ScSpecUdtErrorEnumV0

ScSpecFunctionInputV0

ScSpecFunctionV0

ScSpecEntryKind

ScSpecEntry

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
The associated error which can be returned from parsing.
Parses a string s to return a value of this type. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method returns an Ordering between self and other. Read more
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
Restrict a value to a certain interval. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.