Enum stellar_xdr::TypeVariant
source · 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
sourceimpl TypeVariant
impl TypeVariant
pub const VARIANTS: [TypeVariant; 375] = _
pub const VARIANTS_STR: [&'static str; 375] = _
pub const fn name(&self) -> &'static str
pub const fn variants() -> [TypeVariant; 375]
Trait Implementations
sourceimpl Clone for TypeVariant
impl Clone for TypeVariant
sourcefn clone(&self) -> TypeVariant
fn clone(&self) -> TypeVariant
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for TypeVariant
impl Debug for TypeVariant
sourceimpl<'de> Deserialize<'de> for TypeVariant
impl<'de> Deserialize<'de> for TypeVariant
sourcefn 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
sourceimpl FromStr for TypeVariant
impl FromStr for TypeVariant
sourceimpl Hash for TypeVariant
impl Hash for TypeVariant
sourceimpl Ord for TypeVariant
impl Ord for TypeVariant
sourcefn cmp(&self, other: &TypeVariant) -> Ordering
fn cmp(&self, other: &TypeVariant) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<TypeVariant> for TypeVariant
impl PartialEq<TypeVariant> for TypeVariant
sourcefn eq(&self, other: &TypeVariant) -> bool
fn eq(&self, other: &TypeVariant) -> bool
sourceimpl PartialOrd<TypeVariant> for TypeVariant
impl PartialOrd<TypeVariant> for TypeVariant
sourcefn partial_cmp(&self, other: &TypeVariant) -> Option<Ordering>
fn partial_cmp(&self, other: &TypeVariant) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Serialize for TypeVariant
impl Serialize for TypeVariant
sourceimpl Variants<TypeVariant> for Type
impl Variants<TypeVariant> for Type
fn variants() -> Iter<'static, TypeVariant>
sourceimpl Variants<TypeVariant> for TypeVariant
impl Variants<TypeVariant> for TypeVariant
fn variants() -> Iter<'static, TypeVariant>
impl Copy for TypeVariant
impl Eq for TypeVariant
impl StructuralEq for TypeVariant
impl StructuralPartialEq for TypeVariant
Auto Trait Implementations
impl RefUnwindSafe for TypeVariant
impl Send for TypeVariant
impl Sync for TypeVariant
impl Unpin for TypeVariant
impl UnwindSafe for TypeVariant
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more