Docs.rs
soroban-env-guest-20.0.2
soroban-env-guest 20.0.2
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
graydon
leighmcculloch
stellar-crates
Dependencies
soroban-env-common =20.0.2
normal
static_assertions ^1.1.0
normal
Versions
100%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
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_guest
20.0.2
Union
Object Safety
Implementors
In soroban_env_guest::xdr
?
Trait
soroban_env_guest
::
xdr
::
Union
[
−
]
pub trait Union<D>:
Name
+
Discriminant
<D> +
Variants
<D> { }
Object Safety
§
This trait is
not
object safe
.
Implementors
§
§
impl
Union
<
AccountMergeResultCode
> for
AccountMergeResult
§
impl
Union
<
AllowTrustResultCode
> for
AllowTrustResult
§
impl
Union
<
AssetType
> for
Asset
§
impl
Union
<
AssetType
> for
AssetCode
§
impl
Union
<
AssetType
> for
ChangeTrustAsset
§
impl
Union
<
AssetType
> for
TrustLineAsset
§
impl
Union
<
BeginSponsoringFutureReservesResultCode
> for
BeginSponsoringFutureReservesResult
§
impl
Union
<
BucketEntryType
> for
BucketEntry
§
impl
Union
<
BumpSequenceResultCode
> for
BumpSequenceResult
§
impl
Union
<
ChangeTrustResultCode
> for
ChangeTrustResult
§
impl
Union
<
ClaimAtomType
> for
ClaimAtom
§
impl
Union
<
ClaimClaimableBalanceResultCode
> for
ClaimClaimableBalanceResult
§
impl
Union
<
ClaimPredicateType
> for
ClaimPredicate
§
impl
Union
<
ClaimableBalanceIdType
> for
ClaimableBalanceId
§
impl
Union
<
ClaimantType
> for
Claimant
§
impl
Union
<
ClawbackClaimableBalanceResultCode
> for
ClawbackClaimableBalanceResult
§
impl
Union
<
ClawbackResultCode
> for
ClawbackResult
§
impl
Union
<
ConfigSettingId
> for
ConfigSettingEntry
§
impl
Union
<
ContractExecutableType
> for
ContractExecutable
§
impl
Union
<
ContractIdPreimageType
> for
ContractIdPreimage
§
impl
Union
<
CreateAccountResultCode
> for
CreateAccountResult
§
impl
Union
<
CreateClaimableBalanceResultCode
> for
CreateClaimableBalanceResult
§
impl
Union
<
CryptoKeyType
> for
MuxedAccount
§
impl
Union
<
EndSponsoringFutureReservesResultCode
> for
EndSponsoringFutureReservesResult
§
impl
Union
<
EnvelopeType
> for
FeeBumpTransactionInnerTx
§
impl
Union
<
EnvelopeType
> for
HashIdPreimage
§
impl
Union
<
EnvelopeType
> for
TransactionEnvelope
§
impl
Union
<
EnvelopeType
> for
TransactionSignaturePayloadTaggedTransaction
§
impl
Union
<
ExtendFootprintTtlResultCode
> for
ExtendFootprintTtlResult
§
impl
Union
<
HostFunctionType
> for
HostFunction
§
impl
Union
<
InflationResultCode
> for
InflationResult
§
impl
Union
<
InvokeHostFunctionResultCode
> for
InvokeHostFunctionResult
§
impl
Union
<
IpAddrType
> for
PeerAddressIp
§
impl
Union
<
LedgerEntryChangeType
> for
LedgerEntryChange
§
impl
Union
<
LedgerEntryType
> for
LedgerEntryData
§
impl
Union
<
LedgerEntryType
> for
LedgerKey
§
impl
Union
<
LedgerUpgradeType
> for
LedgerUpgrade
§
impl
Union
<
LiquidityPoolDepositResultCode
> for
LiquidityPoolDepositResult
§
impl
Union
<
LiquidityPoolType
> for
LiquidityPoolEntryBody
§
impl
Union
<
LiquidityPoolType
> for
LiquidityPoolParameters
§
impl
Union
<
LiquidityPoolWithdrawResultCode
> for
LiquidityPoolWithdrawResult
§
impl
Union
<
ManageBuyOfferResultCode
> for
ManageBuyOfferResult
§
impl
Union
<
ManageDataResultCode
> for
ManageDataResult
§
impl
Union
<
ManageOfferEffect
> for
ManageOfferSuccessResultOffer
§
impl
Union
<
ManageSellOfferResultCode
> for
ManageSellOfferResult
§
impl
Union
<
MemoType
> for
Memo
§
impl
Union
<
MessageType
> for
StellarMessage
§
impl
Union
<
OperationResultCode
> for
OperationResult
§
impl
Union
<
OperationType
> for
OperationBody
§
impl
Union
<
OperationType
> for
OperationResultTr
§
impl
Union
<
PathPaymentStrictReceiveResultCode
> for
PathPaymentStrictReceiveResult
§
impl
Union
<
PathPaymentStrictSendResultCode
> for
PathPaymentStrictSendResult
§
impl
Union
<
PaymentResultCode
> for
PaymentResult
§
impl
Union
<
PreconditionType
> for
Preconditions
§
impl
Union
<
PublicKeyType
> for
PublicKey
§
impl
Union
<
RestoreFootprintResultCode
> for
RestoreFootprintResult
§
impl
Union
<
RevokeSponsorshipResultCode
> for
RevokeSponsorshipResult
§
impl
Union
<
RevokeSponsorshipType
> for
RevokeSponsorshipOp
§
impl
Union
<
ScAddressType
> for
ScAddress
§
impl
Union
<
ScEnvMetaKind
> for
ScEnvMetaEntry
§
impl
Union
<
ScErrorType
> for
ScError
§
impl
Union
<
ScMetaKind
> for
ScMetaEntry
§
impl
Union
<
ScSpecEntryKind
> for
ScSpecEntry
§
impl
Union
<
ScSpecType
> for
ScSpecTypeDef
§
impl
Union
<
ScSpecUdtUnionCaseV0Kind
> for
ScSpecUdtUnionCaseV0
§
impl
Union
<
ScValType
> for
ScVal
§
impl
Union
<
ScpStatementType
> for
ScpStatementPledges
§
impl
Union
<
SetOptionsResultCode
> for
SetOptionsResult
§
impl
Union
<
SetTrustLineFlagsResultCode
> for
SetTrustLineFlagsResult
§
impl
Union
<
SignerKeyType
> for
SignerKey
§
impl
Union
<
SorobanAuthorizedFunctionType
> for
SorobanAuthorizedFunction
§
impl
Union
<
SorobanCredentialsType
> for
SorobanCredentials
§
impl
Union
<
StellarValueType
> for
StellarValueExt
§
impl
Union
<
SurveyMessageResponseType
> for
SurveyResponseBody
§
impl
Union
<
TransactionResultCode
> for
InnerTransactionResultResult
§
impl
Union
<
TransactionResultCode
> for
TransactionResultResult
§
impl
Union
<
TxSetComponentType
> for
TxSetComponent
§
impl
Union
<
i32
> for
AccountEntryExt
§
impl
Union
<
i32
> for
AccountEntryExtensionV1Ext
§
impl
Union
<
i32
> for
AccountEntryExtensionV2Ext
§
impl
Union
<
i32
> for
BucketMetadataExt
§
impl
Union
<
i32
> for
ClaimableBalanceEntryExt
§
impl
Union
<
i32
> for
ClaimableBalanceEntryExtensionV1Ext
§
impl
Union
<
i32
> for
ContractEventBody
§
impl
Union
<
i32
> for
DataEntryExt
§
impl
Union
<
i32
> for
ExtensionPoint
§
impl
Union
<
i32
> for
FeeBumpTransactionExt
§
impl
Union
<
i32
> for
GeneralizedTransactionSet
§
impl
Union
<
i32
> for
InnerTransactionResultExt
§
impl
Union
<
i32
> for
LedgerCloseMeta
§
impl
Union
<
i32
> for
LedgerEntryExt
§
impl
Union
<
i32
> for
LedgerEntryExtensionV1Ext
§
impl
Union
<
i32
> for
LedgerHeaderExt
§
impl
Union
<
i32
> for
LedgerHeaderExtensionV1Ext
§
impl
Union
<
i32
> for
LedgerHeaderHistoryEntryExt
§
impl
Union
<
i32
> for
OfferEntryExt
§
impl
Union
<
i32
> for
PersistedScpState
§
impl
Union
<
i32
> for
ScpHistoryEntry
§
impl
Union
<
i32
> for
StoredTransactionSet
§
impl
Union
<
i32
> for
TransactionExt
§
impl
Union
<
i32
> for
TransactionHistoryEntryExt
§
impl
Union
<
i32
> for
TransactionHistoryResultEntryExt
§
impl
Union
<
i32
> for
TransactionMeta
§
impl
Union
<
i32
> for
TransactionPhase
§
impl
Union
<
i32
> for
TransactionResultExt
§
impl
Union
<
i32
> for
TransactionV0Ext
§
impl
Union
<
i32
> for
TrustLineEntryExt
§
impl
Union
<
i32
> for
TrustLineEntryExtensionV2Ext
§
impl
Union
<
i32
> for
TrustLineEntryV1Ext
§
impl
Union
<
u32
> for
AuthenticatedMessage