pub trait HasTypeInfo {
    const PACKAGE_ADDRESS: Option<PackageAddress>;
    const BLUEPRINT_NAME: &'static str;
    const OWNED_TYPE_NAME: &'static str;
    const GLOBAL_TYPE_NAME: &'static str;

    // Provided method
    fn blueprint_id() -> BlueprintId { ... }
}

Required Associated Constants§

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl HasTypeInfo for PackageStub

source§

const PACKAGE_ADDRESS: Option<PackageAddress> = _

source§

const BLUEPRINT_NAME: &'static str = PACKAGE_BLUEPRINT

source§

const OWNED_TYPE_NAME: &'static str = "OwnedPackage"

source§

const GLOBAL_TYPE_NAME: &'static str = "GlobalPackage"

source§

impl HasTypeInfo for AccessController

source§

const PACKAGE_ADDRESS: Option<PackageAddress> = _

source§

const BLUEPRINT_NAME: &'static str = "AccessController"

source§

const OWNED_TYPE_NAME: &'static str = "OwnedAccessController"

source§

const GLOBAL_TYPE_NAME: &'static str = "GlobalAccessController"

source§

impl HasTypeInfo for Account

source§

const PACKAGE_ADDRESS: Option<PackageAddress> = _

source§

const BLUEPRINT_NAME: &'static str = "Account"

source§

const OWNED_TYPE_NAME: &'static str = "OwnedAccount"

source§

const GLOBAL_TYPE_NAME: &'static str = "GlobalAccount"

source§

impl HasTypeInfo for ConsensusManager

source§

const PACKAGE_ADDRESS: Option<PackageAddress> = _

source§

const BLUEPRINT_NAME: &'static str = "ConsensusManager"

source§

const OWNED_TYPE_NAME: &'static str = "OwnedConsensusManager"

source§

const GLOBAL_TYPE_NAME: &'static str = "GlobalConsensusManager"

source§

impl HasTypeInfo for Faucet

source§

const PACKAGE_ADDRESS: Option<PackageAddress> = _

source§

const BLUEPRINT_NAME: &'static str = "Faucet"

source§

const OWNED_TYPE_NAME: &'static str = "OwnedFaucet"

source§

const GLOBAL_TYPE_NAME: &'static str = "GlobalFaucet"

source§

impl HasTypeInfo for Identity

source§

const PACKAGE_ADDRESS: Option<PackageAddress> = _

source§

const BLUEPRINT_NAME: &'static str = "Identity"

source§

const OWNED_TYPE_NAME: &'static str = "OwnedIdentity"

source§

const GLOBAL_TYPE_NAME: &'static str = "GlobalIdentity"

source§

impl HasTypeInfo for MultiResourcePool

source§

const PACKAGE_ADDRESS: Option<PackageAddress> = _

source§

const BLUEPRINT_NAME: &'static str = "MultiResourcePool"

source§

const OWNED_TYPE_NAME: &'static str = "OwnedMultiResourcePool"

source§

const GLOBAL_TYPE_NAME: &'static str = "GlobalMultiResourcePool"

source§

impl HasTypeInfo for OneResourcePool

source§

const PACKAGE_ADDRESS: Option<PackageAddress> = _

source§

const BLUEPRINT_NAME: &'static str = "OneResourcePool"

source§

const OWNED_TYPE_NAME: &'static str = "OwnedOneResourcePool"

source§

const GLOBAL_TYPE_NAME: &'static str = "GlobalOneResourcePool"

source§

impl HasTypeInfo for TwoResourcePool

source§

const PACKAGE_ADDRESS: Option<PackageAddress> = _

source§

const BLUEPRINT_NAME: &'static str = "TwoResourcePool"

source§

const OWNED_TYPE_NAME: &'static str = "OwnedTwoResourcePool"

source§

const GLOBAL_TYPE_NAME: &'static str = "GlobalTwoResourcePool"

source§

impl HasTypeInfo for Validator

source§

const PACKAGE_ADDRESS: Option<PackageAddress> = _

source§

const BLUEPRINT_NAME: &'static str = "Validator"

source§

const OWNED_TYPE_NAME: &'static str = "OwnedValidator"

source§

const GLOBAL_TYPE_NAME: &'static str = "GlobalValidator"