Docs.rs
soroban-sdk-21.0.1-preview.1
soroban-sdk 21.0.1-preview.1
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
graydon
leighmcculloch
stellar-crates
Dependencies
bytes-lit ^0.0.5
normal
soroban-sdk-macros ^21.0.1-preview.1
normal
arbitrary ^1.3.0
dev
ctor ^0.2.1
dev
ed25519-dalek ^2.0.0
dev
hex ^0.4.3
dev
proptest ^1.2.0
dev
proptest-arbitrary-interop ^0.1.0
dev
rand ^0.8.5
dev
soroban-env-host =21.0.1
dev
soroban-sdk-macros ^21.0.1-preview.1
dev
soroban-spec ^21.0.1-preview.1
dev
stellar-xdr =21.0.1
dev
arbitrary ^1.3.0
normal
optional
ctor ^0.2.1
normal
optional
ed25519-dalek ^2.0.0
normal
optional
rand ^0.8.5
normal
serde ^1.0.0
normal
serde_json ^1.0.0
normal
soroban-env-host =21.0.1
normal
soroban-ledger-snapshot ^21.0.1-preview.1
normal
stellar-strkey =0.0.8
normal
soroban-env-guest =21.0.1
normal
Versions
66.31%
of the crate is documented
Go to latest stable release
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
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
soroban_sdk
21.0.1-preview.1
Union
Object Safety
Implementors
In soroban_sdk::xdr
?
Settings
Trait
soroban_sdk
::
xdr
::
Union
Copy item path
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
ContractCodeEntryExt
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
LedgerCloseMetaExt
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
SorobanTransactionMetaExt
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