Docs.rs
soroban-env-common-20.2.1
soroban-env-common 20.2.1
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
graydon
leighmcculloch
stellar-crates
Dependencies
arbitrary =1.3.2
normal
ethnum =1.5.0
normal
num-derive =0.4.1
normal
num-traits =0.2.17
normal
serde =1.0.192
normal
soroban-env-macros =20.2.1
normal
static_assertions =1.1.0
normal
stellar-xdr =20.1.0
normal
soroban-wasmi =0.31.1-soroban.20.0.1
normal
num-traits =0.2.17
dev
num_enum =0.7.1
dev
crate-git-revision =0.0.6
build
tracy-client =0.15.2
normal
Versions
1.32%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
soroban_env_common
20.2.1
Union
Object Safety
Implementors
In soroban_env_common::xdr
?
Trait
soroban_env_common
::
xdr
::
Union
source
·
[
−
]
pub trait Union<D>:
Name
+
Discriminant
<D> +
Variants
<D> { }
Object Safety
§
This trait is
not
object safe
.
Implementors
§
source
§
impl
Union
<
AccountMergeResultCode
> for
AccountMergeResult
source
§
impl
Union
<
AllowTrustResultCode
> for
AllowTrustResult
source
§
impl
Union
<
AssetType
> for
Asset
source
§
impl
Union
<
AssetType
> for
AssetCode
source
§
impl
Union
<
AssetType
> for
ChangeTrustAsset
source
§
impl
Union
<
AssetType
> for
TrustLineAsset
source
§
impl
Union
<
BeginSponsoringFutureReservesResultCode
> for
BeginSponsoringFutureReservesResult
source
§
impl
Union
<
BucketEntryType
> for
BucketEntry
source
§
impl
Union
<
BumpSequenceResultCode
> for
BumpSequenceResult
source
§
impl
Union
<
ChangeTrustResultCode
> for
ChangeTrustResult
source
§
impl
Union
<
ClaimAtomType
> for
ClaimAtom
source
§
impl
Union
<
ClaimClaimableBalanceResultCode
> for
ClaimClaimableBalanceResult
source
§
impl
Union
<
ClaimPredicateType
> for
ClaimPredicate
source
§
impl
Union
<
ClaimableBalanceIdType
> for
ClaimableBalanceId
source
§
impl
Union
<
ClaimantType
> for
Claimant
source
§
impl
Union
<
ClawbackClaimableBalanceResultCode
> for
ClawbackClaimableBalanceResult
source
§
impl
Union
<
ClawbackResultCode
> for
ClawbackResult
source
§
impl
Union
<
ConfigSettingId
> for
ConfigSettingEntry
source
§
impl
Union
<
ContractExecutableType
> for
ContractExecutable
source
§
impl
Union
<
ContractIdPreimageType
> for
ContractIdPreimage
source
§
impl
Union
<
CreateAccountResultCode
> for
CreateAccountResult
source
§
impl
Union
<
CreateClaimableBalanceResultCode
> for
CreateClaimableBalanceResult
source
§
impl
Union
<
CryptoKeyType
> for
MuxedAccount
source
§
impl
Union
<
EndSponsoringFutureReservesResultCode
> for
EndSponsoringFutureReservesResult
source
§
impl
Union
<
EnvelopeType
> for
FeeBumpTransactionInnerTx
source
§
impl
Union
<
EnvelopeType
> for
HashIdPreimage
source
§
impl
Union
<
EnvelopeType
> for
TransactionEnvelope
source
§
impl
Union
<
EnvelopeType
> for
TransactionSignaturePayloadTaggedTransaction
source
§
impl
Union
<
ExtendFootprintTtlResultCode
> for
ExtendFootprintTtlResult
source
§
impl
Union
<
HostFunctionType
> for
HostFunction
source
§
impl
Union
<
InflationResultCode
> for
InflationResult
source
§
impl
Union
<
InvokeHostFunctionResultCode
> for
InvokeHostFunctionResult
source
§
impl
Union
<
IpAddrType
> for
PeerAddressIp
source
§
impl
Union
<
LedgerEntryChangeType
> for
LedgerEntryChange
source
§
impl
Union
<
LedgerEntryType
> for
LedgerEntryData
source
§
impl
Union
<
LedgerEntryType
> for
LedgerKey
source
§
impl
Union
<
LedgerUpgradeType
> for
LedgerUpgrade
source
§
impl
Union
<
LiquidityPoolDepositResultCode
> for
LiquidityPoolDepositResult
source
§
impl
Union
<
LiquidityPoolType
> for
LiquidityPoolEntryBody
source
§
impl
Union
<
LiquidityPoolType
> for
LiquidityPoolParameters
source
§
impl
Union
<
LiquidityPoolWithdrawResultCode
> for
LiquidityPoolWithdrawResult
source
§
impl
Union
<
ManageBuyOfferResultCode
> for
ManageBuyOfferResult
source
§
impl
Union
<
ManageDataResultCode
> for
ManageDataResult
source
§
impl
Union
<
ManageOfferEffect
> for
ManageOfferSuccessResultOffer
source
§
impl
Union
<
ManageSellOfferResultCode
> for
ManageSellOfferResult
source
§
impl
Union
<
MemoType
> for
Memo
source
§
impl
Union
<
MessageType
> for
StellarMessage
source
§
impl
Union
<
OperationResultCode
> for
OperationResult
source
§
impl
Union
<
OperationType
> for
OperationBody
source
§
impl
Union
<
OperationType
> for
OperationResultTr
source
§
impl
Union
<
PathPaymentStrictReceiveResultCode
> for
PathPaymentStrictReceiveResult
source
§
impl
Union
<
PathPaymentStrictSendResultCode
> for
PathPaymentStrictSendResult
source
§
impl
Union
<
PaymentResultCode
> for
PaymentResult
source
§
impl
Union
<
PreconditionType
> for
Preconditions
source
§
impl
Union
<
PublicKeyType
> for
PublicKey
source
§
impl
Union
<
RestoreFootprintResultCode
> for
RestoreFootprintResult
source
§
impl
Union
<
RevokeSponsorshipResultCode
> for
RevokeSponsorshipResult
source
§
impl
Union
<
RevokeSponsorshipType
> for
RevokeSponsorshipOp
source
§
impl
Union
<
ScAddressType
> for
ScAddress
source
§
impl
Union
<
ScEnvMetaKind
> for
ScEnvMetaEntry
source
§
impl
Union
<
ScErrorType
> for
ScError
source
§
impl
Union
<
ScMetaKind
> for
ScMetaEntry
source
§
impl
Union
<
ScSpecEntryKind
> for
ScSpecEntry
source
§
impl
Union
<
ScSpecType
> for
ScSpecTypeDef
source
§
impl
Union
<
ScSpecUdtUnionCaseV0Kind
> for
ScSpecUdtUnionCaseV0
source
§
impl
Union
<
ScValType
> for
ScVal
source
§
impl
Union
<
ScpStatementType
> for
ScpStatementPledges
source
§
impl
Union
<
SetOptionsResultCode
> for
SetOptionsResult
source
§
impl
Union
<
SetTrustLineFlagsResultCode
> for
SetTrustLineFlagsResult
source
§
impl
Union
<
SignerKeyType
> for
SignerKey
source
§
impl
Union
<
SorobanAuthorizedFunctionType
> for
SorobanAuthorizedFunction
source
§
impl
Union
<
SorobanCredentialsType
> for
SorobanCredentials
source
§
impl
Union
<
StellarValueType
> for
StellarValueExt
source
§
impl
Union
<
SurveyMessageResponseType
> for
SurveyResponseBody
source
§
impl
Union
<
TransactionResultCode
> for
InnerTransactionResultResult
source
§
impl
Union
<
TransactionResultCode
> for
TransactionResultResult
source
§
impl
Union
<
TxSetComponentType
> for
TxSetComponent
source
§
impl
Union
<
i32
> for
AccountEntryExt
source
§
impl
Union
<
i32
> for
AccountEntryExtensionV1Ext
source
§
impl
Union
<
i32
> for
AccountEntryExtensionV2Ext
source
§
impl
Union
<
i32
> for
BucketMetadataExt
source
§
impl
Union
<
i32
> for
ClaimableBalanceEntryExt
source
§
impl
Union
<
i32
> for
ClaimableBalanceEntryExtensionV1Ext
source
§
impl
Union
<
i32
> for
ContractEventBody
source
§
impl
Union
<
i32
> for
DataEntryExt
source
§
impl
Union
<
i32
> for
ExtensionPoint
source
§
impl
Union
<
i32
> for
FeeBumpTransactionExt
source
§
impl
Union
<
i32
> for
GeneralizedTransactionSet
source
§
impl
Union
<
i32
> for
InnerTransactionResultExt
source
§
impl
Union
<
i32
> for
LedgerCloseMeta
source
§
impl
Union
<
i32
> for
LedgerEntryExt
source
§
impl
Union
<
i32
> for
LedgerEntryExtensionV1Ext
source
§
impl
Union
<
i32
> for
LedgerHeaderExt
source
§
impl
Union
<
i32
> for
LedgerHeaderExtensionV1Ext
source
§
impl
Union
<
i32
> for
LedgerHeaderHistoryEntryExt
source
§
impl
Union
<
i32
> for
OfferEntryExt
source
§
impl
Union
<
i32
> for
PersistedScpState
source
§
impl
Union
<
i32
> for
ScpHistoryEntry
source
§
impl
Union
<
i32
> for
StoredTransactionSet
source
§
impl
Union
<
i32
> for
TransactionExt
source
§
impl
Union
<
i32
> for
TransactionHistoryEntryExt
source
§
impl
Union
<
i32
> for
TransactionHistoryResultEntryExt
source
§
impl
Union
<
i32
> for
TransactionMeta
source
§
impl
Union
<
i32
> for
TransactionPhase
source
§
impl
Union
<
i32
> for
TransactionResultExt
source
§
impl
Union
<
i32
> for
TransactionV0Ext
source
§
impl
Union
<
i32
> for
TrustLineEntryExt
source
§
impl
Union
<
i32
> for
TrustLineEntryExtensionV2Ext
source
§
impl
Union
<
i32
> for
TrustLineEntryV1Ext
source
§
impl
Union
<
u32
> for
AuthenticatedMessage