pub trait Name {
    // Required method
    fn name(&self) -> &'static str;
}
Expand description

Name defines types that assign a static name to their value, such as the name given to an identifier in an XDR enum, or the name given to the case in a union.

Required Methods§

fn name(&self) -> &'static str

Implementors§

§

impl Name for AccountEntryExt

§

impl Name for AccountEntryExtensionV1Ext

§

impl Name for AccountEntryExtensionV2Ext

§

impl Name for AccountFlags

§

impl Name for AccountMergeResult

§

impl Name for AccountMergeResultCode

§

impl Name for AllowTrustResult

§

impl Name for AllowTrustResultCode

§

impl Name for Asset

§

impl Name for AssetCode

§

impl Name for AssetType

§

impl Name for AuthenticatedMessage

§

impl Name for BeginSponsoringFutureReservesResult

§

impl Name for BeginSponsoringFutureReservesResultCode

§

impl Name for BucketEntry

§

impl Name for BucketEntryType

§

impl Name for BucketMetadataExt

§

impl Name for BumpSequenceResult

§

impl Name for BumpSequenceResultCode

§

impl Name for ChangeTrustAsset

§

impl Name for ChangeTrustResult

§

impl Name for ChangeTrustResultCode

§

impl Name for ClaimAtom

§

impl Name for ClaimAtomType

§

impl Name for ClaimClaimableBalanceResult

§

impl Name for ClaimClaimableBalanceResultCode

§

impl Name for ClaimPredicate

§

impl Name for ClaimPredicateType

§

impl Name for ClaimableBalanceEntryExt

§

impl Name for ClaimableBalanceEntryExtensionV1Ext

§

impl Name for ClaimableBalanceFlags

§

impl Name for ClaimableBalanceId

§

impl Name for ClaimableBalanceIdType

§

impl Name for Claimant

§

impl Name for ClaimantType

§

impl Name for ClawbackClaimableBalanceResult

§

impl Name for ClawbackClaimableBalanceResultCode

§

impl Name for ClawbackResult

§

impl Name for ClawbackResultCode

§

impl Name for ConfigSettingEntry

§

impl Name for ConfigSettingId

§

impl Name for ContractCostType

§

impl Name for ContractDataDurability

§

impl Name for ContractEventBody

§

impl Name for ContractEventType

§

impl Name for ContractExecutable

§

impl Name for ContractExecutableType

§

impl Name for ContractIdPreimage

§

impl Name for ContractIdPreimageType

§

impl Name for CreateAccountResult

§

impl Name for CreateAccountResultCode

§

impl Name for CreateClaimableBalanceResult

§

impl Name for CreateClaimableBalanceResultCode

§

impl Name for CryptoKeyType

§

impl Name for DataEntryExt

§

impl Name for EndSponsoringFutureReservesResult

§

impl Name for EndSponsoringFutureReservesResultCode

§

impl Name for EnvelopeType

§

impl Name for ErrorCode

§

impl Name for ExtendFootprintTtlResult

§

impl Name for ExtendFootprintTtlResultCode

§

impl Name for ExtensionPoint

§

impl Name for FeeBumpTransactionExt

§

impl Name for FeeBumpTransactionInnerTx

§

impl Name for GeneralizedTransactionSet

§

impl Name for HashIdPreimage

§

impl Name for HostFunction

§

impl Name for HostFunctionType

§

impl Name for InflationResult

§

impl Name for InflationResultCode

§

impl Name for InnerTransactionResultExt

§

impl Name for InnerTransactionResultResult

§

impl Name for InvokeHostFunctionResult

§

impl Name for InvokeHostFunctionResultCode

§

impl Name for IpAddrType

§

impl Name for LedgerCloseMeta

§

impl Name for LedgerEntryChange

§

impl Name for LedgerEntryChangeType

§

impl Name for LedgerEntryData

§

impl Name for LedgerEntryExt

§

impl Name for LedgerEntryExtensionV1Ext

§

impl Name for LedgerEntryType

§

impl Name for LedgerHeaderExt

§

impl Name for LedgerHeaderExtensionV1Ext

§

impl Name for LedgerHeaderFlags

§

impl Name for LedgerHeaderHistoryEntryExt

§

impl Name for LedgerKey

§

impl Name for LedgerUpgrade

§

impl Name for LedgerUpgradeType

§

impl Name for LiquidityPoolDepositResult

§

impl Name for LiquidityPoolDepositResultCode

§

impl Name for LiquidityPoolEntryBody

§

impl Name for LiquidityPoolParameters

§

impl Name for LiquidityPoolType

§

impl Name for LiquidityPoolWithdrawResult

§

impl Name for LiquidityPoolWithdrawResultCode

§

impl Name for ManageBuyOfferResult

§

impl Name for ManageBuyOfferResultCode

§

impl Name for ManageDataResult

§

impl Name for ManageDataResultCode

§

impl Name for ManageOfferEffect

§

impl Name for ManageOfferSuccessResultOffer

§

impl Name for ManageSellOfferResult

§

impl Name for ManageSellOfferResultCode

§

impl Name for Memo

§

impl Name for MemoType

§

impl Name for MessageType

§

impl Name for MuxedAccount

§

impl Name for OfferEntryExt

§

impl Name for OfferEntryFlags

§

impl Name for OperationBody

§

impl Name for OperationResult

§

impl Name for OperationResultCode

§

impl Name for OperationResultTr

§

impl Name for OperationType

§

impl Name for PathPaymentStrictReceiveResult

§

impl Name for PathPaymentStrictReceiveResultCode

§

impl Name for PathPaymentStrictSendResult

§

impl Name for PathPaymentStrictSendResultCode

§

impl Name for PaymentResult

§

impl Name for PaymentResultCode

§

impl Name for PeerAddressIp

§

impl Name for PersistedScpState

§

impl Name for PreconditionType

§

impl Name for Preconditions

§

impl Name for PublicKey

§

impl Name for PublicKeyType

§

impl Name for RestoreFootprintResult

§

impl Name for RestoreFootprintResultCode

§

impl Name for RevokeSponsorshipOp

§

impl Name for RevokeSponsorshipResult

§

impl Name for RevokeSponsorshipResultCode

§

impl Name for RevokeSponsorshipType

§

impl Name for ScAddress

§

impl Name for ScAddressType

§

impl Name for ScEnvMetaEntry

§

impl Name for ScEnvMetaKind

§

impl Name for ScError

§

impl Name for ScErrorCode

§

impl Name for ScErrorType

§

impl Name for ScMetaEntry

§

impl Name for ScMetaKind

§

impl Name for ScSpecEntry

§

impl Name for ScSpecEntryKind

§

impl Name for ScSpecType

§

impl Name for ScSpecTypeDef

§

impl Name for ScSpecUdtUnionCaseV0

§

impl Name for ScSpecUdtUnionCaseV0Kind

§

impl Name for ScVal

§

impl Name for ScValType

§

impl Name for ScpHistoryEntry

§

impl Name for ScpStatementPledges

§

impl Name for ScpStatementType

§

impl Name for SetOptionsResult

§

impl Name for SetOptionsResultCode

§

impl Name for SetTrustLineFlagsResult

§

impl Name for SetTrustLineFlagsResultCode

§

impl Name for SignerKey

§

impl Name for SignerKeyType

§

impl Name for SorobanAuthorizedFunction

§

impl Name for SorobanAuthorizedFunctionType

§

impl Name for SorobanCredentials

§

impl Name for SorobanCredentialsType

§

impl Name for StellarMessage

§

impl Name for StellarValueExt

§

impl Name for StellarValueType

§

impl Name for StoredTransactionSet

§

impl Name for SurveyMessageCommandType

§

impl Name for SurveyMessageResponseType

§

impl Name for SurveyResponseBody

§

impl Name for ThresholdIndexes

§

impl Name for TransactionEnvelope

§

impl Name for TransactionExt

§

impl Name for TransactionHistoryEntryExt

§

impl Name for TransactionHistoryResultEntryExt

§

impl Name for TransactionMeta

§

impl Name for TransactionPhase

§

impl Name for TransactionResultCode

§

impl Name for TransactionResultExt

§

impl Name for TransactionResultResult

§

impl Name for TransactionSignaturePayloadTaggedTransaction

§

impl Name for TransactionV0Ext

§

impl Name for TrustLineAsset

§

impl Name for TrustLineEntryExt

§

impl Name for TrustLineEntryExtensionV2Ext

§

impl Name for TrustLineEntryV1Ext

§

impl Name for TrustLineFlags

§

impl Name for TxSetComponent

§

impl Name for TxSetComponentType

§

impl Name for Type

§

impl Name for TypeVariant