Enum stellar_xdr::next::TypeVariant
source · pub enum TypeVariant {
Show 402 variants
Value,
ScpBallot,
ScpStatementType,
ScpNomination,
ScpStatement,
ScpStatementPledges,
ScpStatementPrepare,
ScpStatementConfirm,
ScpStatementExternalize,
ScpEnvelope,
ScpQuorumSet,
ScEnvMetaKind,
ScEnvMetaEntry,
ScSpecType,
ScSpecTypeOption,
ScSpecTypeResult,
ScSpecTypeVec,
ScSpecTypeMap,
ScSpecTypeSet,
ScSpecTypeTuple,
ScSpecTypeBytesN,
ScSpecTypeUdt,
ScSpecTypeDef,
ScSpecUdtStructFieldV0,
ScSpecUdtStructV0,
ScSpecUdtUnionCaseVoidV0,
ScSpecUdtUnionCaseTupleV0,
ScSpecUdtUnionCaseV0Kind,
ScSpecUdtUnionCaseV0,
ScSpecUdtUnionV0,
ScSpecUdtEnumCaseV0,
ScSpecUdtEnumV0,
ScSpecUdtErrorEnumCaseV0,
ScSpecUdtErrorEnumV0,
ScSpecFunctionInputV0,
ScSpecFunctionV0,
ScSpecEntryKind,
ScSpecEntry,
ScSymbol,
ScValType,
ScStatic,
ScStatusType,
ScHostValErrorCode,
ScHostObjErrorCode,
ScHostFnErrorCode,
ScHostStorageErrorCode,
ScHostAuthErrorCode,
ScHostContextErrorCode,
ScVmErrorCode,
ScUnknownErrorCode,
ScStatus,
ScVal,
ScObjectType,
ScMapEntry,
ScVec,
ScMap,
ScContractCodeType,
ScContractCode,
Int128Parts,
ScAddressType,
ScAddress,
ScObject,
StoredTransactionSet,
PersistedScpStateV0,
PersistedScpStateV1,
PersistedScpState,
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,
ContractCodeEntry,
ConfigSettingType,
ConfigSetting,
ConfigSettingId,
ConfigSettingEntry,
ConfigSettingEntryExt,
LedgerEntryExtensionV1,
LedgerEntryExtensionV1Ext,
LedgerEntry,
LedgerEntryData,
LedgerEntryExt,
LedgerKey,
LedgerKeyAccount,
LedgerKeyTrustLine,
LedgerKeyOffer,
LedgerKeyData,
LedgerKeyClaimableBalance,
LedgerKeyLiquidityPool,
LedgerKeyContractData,
LedgerKeyContractCode,
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,
OperationEvents,
TransactionMetaV3,
TransactionMeta,
TransactionResultMeta,
TransactionResultMetaV2,
UpgradeEntryMeta,
LedgerCloseMetaV0,
LedgerCloseMetaV1,
LedgerCloseMetaV2,
LedgerCloseMeta,
ErrorCode,
SError,
SendMore,
AuthCert,
Hello,
Auth,
IpAddrType,
PeerAddress,
PeerAddressIp,
MessageType,
DontHave,
SurveyMessageCommandType,
SurveyMessageResponseType,
SurveyRequestMessage,
SignedSurveyRequestMessage,
EncryptedBody,
SurveyResponseMessage,
SignedSurveyResponseMessage,
PeerStats,
PeerStatList,
TopologyResponseBodyV0,
TopologyResponseBodyV1,
SurveyResponseBody,
TxAdvertVector,
FloodAdvert,
TxDemandVector,
FloodDemand,
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,
HostFunctionType,
ContractIdType,
ContractIdPublicKeyType,
InstallContractCodeArgs,
ContractId,
ContractIdFromEd25519PublicKey,
CreateContractArgs,
HostFunction,
AuthorizedInvocation,
AddressWithNonce,
ContractAuth,
InvokeHostFunctionOp,
Operation,
OperationBody,
HashIdPreimage,
HashIdPreimageOperationId,
HashIdPreimageRevokeId,
HashIdPreimageEd25519ContractId,
HashIdPreimageContractId,
HashIdPreimageFromAsset,
HashIdPreimageSourceAccountContractId,
HashIdPreimageCreateContractArgs,
HashIdPreimageContractAuth,
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,
}
Available on crate feature
next
only.Variants§
Value
ScpBallot
ScpStatementType
ScpNomination
ScpStatement
ScpStatementPledges
ScpStatementPrepare
ScpStatementConfirm
ScpStatementExternalize
ScpEnvelope
ScpQuorumSet
ScEnvMetaKind
ScEnvMetaEntry
ScSpecType
ScSpecTypeOption
ScSpecTypeResult
ScSpecTypeVec
ScSpecTypeMap
ScSpecTypeSet
ScSpecTypeTuple
ScSpecTypeBytesN
ScSpecTypeUdt
ScSpecTypeDef
ScSpecUdtStructFieldV0
ScSpecUdtStructV0
ScSpecUdtUnionCaseVoidV0
ScSpecUdtUnionCaseTupleV0
ScSpecUdtUnionCaseV0Kind
ScSpecUdtUnionCaseV0
ScSpecUdtUnionV0
ScSpecUdtEnumCaseV0
ScSpecUdtEnumV0
ScSpecUdtErrorEnumCaseV0
ScSpecUdtErrorEnumV0
ScSpecFunctionInputV0
ScSpecFunctionV0
ScSpecEntryKind
ScSpecEntry
ScSymbol
ScValType
ScStatic
ScStatusType
ScHostValErrorCode
ScHostObjErrorCode
ScHostFnErrorCode
ScHostStorageErrorCode
ScHostAuthErrorCode
ScHostContextErrorCode
ScVmErrorCode
ScUnknownErrorCode
ScStatus
ScVal
ScObjectType
ScMapEntry
ScVec
ScMap
ScContractCodeType
ScContractCode
Int128Parts
ScAddressType
ScAddress
ScObject
StoredTransactionSet
PersistedScpStateV0
PersistedScpStateV1
PersistedScpState
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
ContractCodeEntry
ConfigSettingType
ConfigSetting
ConfigSettingId
ConfigSettingEntry
ConfigSettingEntryExt
LedgerEntryExtensionV1
LedgerEntryExtensionV1Ext
LedgerEntry
LedgerEntryData
LedgerEntryExt
LedgerKey
LedgerKeyAccount
LedgerKeyTrustLine
LedgerKeyOffer
LedgerKeyData
LedgerKeyClaimableBalance
LedgerKeyLiquidityPool
LedgerKeyContractData
LedgerKeyContractCode
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
OperationEvents
TransactionMetaV3
TransactionMeta
TransactionResultMeta
TransactionResultMetaV2
UpgradeEntryMeta
LedgerCloseMetaV0
LedgerCloseMetaV1
LedgerCloseMetaV2
LedgerCloseMeta
ErrorCode
SError
SendMore
AuthCert
Hello
Auth
IpAddrType
PeerAddress
PeerAddressIp
MessageType
DontHave
SurveyMessageCommandType
SurveyMessageResponseType
SurveyRequestMessage
SignedSurveyRequestMessage
EncryptedBody
SurveyResponseMessage
SignedSurveyResponseMessage
PeerStats
PeerStatList
TopologyResponseBodyV0
TopologyResponseBodyV1
SurveyResponseBody
TxAdvertVector
FloodAdvert
TxDemandVector
FloodDemand
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
HostFunctionType
ContractIdType
ContractIdPublicKeyType
InstallContractCodeArgs
ContractId
ContractIdFromEd25519PublicKey
CreateContractArgs
HostFunction
AuthorizedInvocation
AddressWithNonce
ContractAuth
InvokeHostFunctionOp
Operation
OperationBody
HashIdPreimage
HashIdPreimageOperationId
HashIdPreimageRevokeId
HashIdPreimageEd25519ContractId
HashIdPreimageContractId
HashIdPreimageFromAsset
HashIdPreimageSourceAccountContractId
HashIdPreimageCreateContractArgs
HashIdPreimageContractAuth
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
Implementations§
source§impl TypeVariant
impl TypeVariant
pub const VARIANTS: [TypeVariant; 402] = _
pub const VARIANTS_STR: [&'static str; 402] = _
pub const fn name(&self) -> &'static str
pub const fn variants() -> [TypeVariant; 402]
Trait Implementations§
source§impl Clone for TypeVariant
impl Clone for TypeVariant
source§fn clone(&self) -> TypeVariant
fn clone(&self) -> TypeVariant
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TypeVariant
impl Debug for TypeVariant
source§impl<'de> Deserialize<'de> for TypeVariant
impl<'de> Deserialize<'de> for TypeVariant
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for TypeVariant
impl FromStr for TypeVariant
source§impl Hash for TypeVariant
impl Hash for TypeVariant
source§impl Ord for TypeVariant
impl Ord for TypeVariant
source§fn cmp(&self, other: &TypeVariant) -> Ordering
fn cmp(&self, other: &TypeVariant) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<TypeVariant> for TypeVariant
impl PartialEq<TypeVariant> for TypeVariant
source§fn eq(&self, other: &TypeVariant) -> bool
fn eq(&self, other: &TypeVariant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TypeVariant> for TypeVariant
impl PartialOrd<TypeVariant> for TypeVariant
source§fn partial_cmp(&self, other: &TypeVariant) -> Option<Ordering>
fn partial_cmp(&self, other: &TypeVariant) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more