pub trait HasLatestVersion {
    type Latest;

    // Required methods
    fn into_latest(self) -> Self::Latest;
    fn as_latest_ref(&self) -> Option<&Self::Latest>;
}
Expand description

A marker trait to indicate that the type is versioned. This can be used for type bounds for requiring that types are versioned.

Required Associated Types§

Required Methods§

source

fn into_latest(self) -> Self::Latest

source

fn as_latest_ref(&self) -> Option<&Self::Latest>

Implementors§

source§

impl HasLatestVersion for VersionedAccessControllerState

source§

impl HasLatestVersion for VersionedAccountAuthorizedDepositor

§

type Latest = ()

source§

impl HasLatestVersion for VersionedAccountDepositRule

source§

impl HasLatestVersion for VersionedAccountResourcePreference

source§

impl HasLatestVersion for VersionedAccountResourceVault

source§

impl HasLatestVersion for VersionedConsensusManagerConfiguration

source§

impl HasLatestVersion for VersionedConsensusManagerCurrentProposalStatistic

source§

impl HasLatestVersion for VersionedConsensusManagerCurrentValidatorSet

source§

impl HasLatestVersion for VersionedConsensusManagerProposerMilliTimestamp

source§

impl HasLatestVersion for VersionedConsensusManagerProposerMinuteTimestamp

source§

impl HasLatestVersion for VersionedConsensusManagerRegisteredValidatorByStake

source§

impl HasLatestVersion for VersionedConsensusManagerState

source§

impl HasLatestVersion for VersionedConsensusManagerValidatorRewards

source§

impl HasLatestVersion for VersionedValidatorProtocolUpdateReadinessSignal

source§

impl HasLatestVersion for VersionedValidatorState

source§

impl HasLatestVersion for VersionedPackageBlueprintVersionAuthConfig

source§

impl HasLatestVersion for VersionedPackageBlueprintVersionDefinition

source§

impl HasLatestVersion for VersionedPackageBlueprintVersionDependencies

source§

impl HasLatestVersion for VersionedPackageBlueprintVersionRoyaltyConfig

source§

impl HasLatestVersion for VersionedPackageCodeInstrumentedCode

source§

impl HasLatestVersion for VersionedPackageCodeOriginalCode

source§

impl HasLatestVersion for VersionedPackageCodeVmType

source§

impl HasLatestVersion for VersionedPackageRoyaltyAccumulator

source§

impl HasLatestVersion for VersionedMultiResourcePoolState

source§

impl HasLatestVersion for VersionedOneResourcePoolState

source§

impl HasLatestVersion for VersionedTwoResourcePoolState

source§

impl HasLatestVersion for VersionedFungibleResourceManagerDivisibility

§

type Latest = u8

source§

impl HasLatestVersion for VersionedFungibleResourceManagerTotalSupply

source§

impl HasLatestVersion for VersionedFungibleVaultBalance

source§

impl HasLatestVersion for VersionedFungibleVaultFreezeStatus

source§

impl HasLatestVersion for VersionedFungibleVaultLockedBalance

source§

impl HasLatestVersion for VersionedNonFungibleResourceManagerIdType

source§

impl HasLatestVersion for VersionedNonFungibleResourceManagerMutableFields

source§

impl HasLatestVersion for VersionedNonFungibleResourceManagerTotalSupply

source§

impl HasLatestVersion for VersionedNonFungibleVaultBalance

source§

impl HasLatestVersion for VersionedNonFungibleVaultFreezeStatus

source§

impl HasLatestVersion for VersionedNonFungibleVaultLockedResource

source§

impl HasLatestVersion for VersionedNonFungibleVaultNonFungible

§

type Latest = ()

source§

impl HasLatestVersion for VersionedMetadataEntry

source§

impl HasLatestVersion for VersionedRoleAssignmentAccessRule

source§

impl HasLatestVersion for VersionedRoleAssignmentOwner

source§

impl HasLatestVersion for VersionedComponentRoyaltyAccumulator

source§

impl HasLatestVersion for VersionedComponentRoyaltyMethodAmount

source§

impl HasLatestVersion for VersionedTransactionReceipt

source§

impl HasLatestVersion for AccessControllerStateFieldPayload

source§

impl HasLatestVersion for AccountAuthorizedDepositorEntryPayload

source§

impl HasLatestVersion for AccountDepositRuleFieldPayload

source§

impl HasLatestVersion for AccountResourcePreferenceEntryPayload

source§

impl HasLatestVersion for AccountResourceVaultEntryPayload

source§

impl HasLatestVersion for ConsensusManagerConfigurationFieldPayload

source§

impl HasLatestVersion for ConsensusManagerCurrentProposalStatisticFieldPayload

source§

impl HasLatestVersion for ConsensusManagerCurrentValidatorSetFieldPayload

source§

impl HasLatestVersion for ConsensusManagerProposerMilliTimestampFieldPayload

source§

impl HasLatestVersion for ConsensusManagerProposerMinuteTimestampFieldPayload

source§

impl HasLatestVersion for ConsensusManagerRegisteredValidatorByStakeEntryPayload

source§

impl HasLatestVersion for ConsensusManagerStateFieldPayload

source§

impl HasLatestVersion for ConsensusManagerValidatorRewardsFieldPayload

source§

impl HasLatestVersion for ValidatorProtocolUpdateReadinessSignalFieldPayload

source§

impl HasLatestVersion for ValidatorStateFieldPayload

source§

impl HasLatestVersion for PackageBlueprintVersionAuthConfigEntryPayload

source§

impl HasLatestVersion for PackageBlueprintVersionDefinitionEntryPayload

source§

impl HasLatestVersion for PackageBlueprintVersionDependenciesEntryPayload

source§

impl HasLatestVersion for PackageBlueprintVersionRoyaltyConfigEntryPayload

source§

impl HasLatestVersion for PackageCodeInstrumentedCodeEntryPayload

source§

impl HasLatestVersion for PackageCodeOriginalCodeEntryPayload

source§

impl HasLatestVersion for PackageCodeVmTypeEntryPayload

source§

impl HasLatestVersion for PackageRoyaltyAccumulatorFieldPayload

source§

impl HasLatestVersion for MultiResourcePoolStateFieldPayload

source§

impl HasLatestVersion for OneResourcePoolStateFieldPayload

source§

impl HasLatestVersion for TwoResourcePoolStateFieldPayload

source§

impl HasLatestVersion for FungibleResourceManagerDivisibilityFieldPayload

source§

impl HasLatestVersion for FungibleResourceManagerTotalSupplyFieldPayload

source§

impl HasLatestVersion for FungibleVaultBalanceFieldPayload

source§

impl HasLatestVersion for FungibleVaultFreezeStatusFieldPayload

source§

impl HasLatestVersion for FungibleVaultLockedBalanceFieldPayload

source§

impl HasLatestVersion for NonFungibleResourceManagerIdTypeFieldPayload

source§

impl HasLatestVersion for NonFungibleResourceManagerMutableFieldsFieldPayload

source§

impl HasLatestVersion for NonFungibleResourceManagerTotalSupplyFieldPayload

source§

impl HasLatestVersion for NonFungibleVaultBalanceFieldPayload

source§

impl HasLatestVersion for NonFungibleVaultFreezeStatusFieldPayload

source§

impl HasLatestVersion for NonFungibleVaultLockedResourceFieldPayload

source§

impl HasLatestVersion for NonFungibleVaultNonFungibleEntryPayload

source§

impl HasLatestVersion for MetadataEntryEntryPayload

source§

impl HasLatestVersion for RoleAssignmentAccessRuleEntryPayload

source§

impl HasLatestVersion for RoleAssignmentOwnerFieldPayload

source§

impl HasLatestVersion for ComponentRoyaltyAccumulatorFieldPayload

source§

impl HasLatestVersion for ComponentRoyaltyMethodAmountEntryPayload

source§

impl<S> HasLatestVersion for VersionedSchema<S>
where S: CustomSchema,

§

type Latest = SchemaV1<S>