pub struct Runtime;

Implementations§

source§

impl Runtime

source

pub fn metadata() -> RuntimeMetadataPrefixed

source

pub fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>

source

pub fn metadata_versions() -> Vec<u32>

Trait Implementations§

source§

impl AccountNonceApiV1<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u64> for Runtime

source§

fn account_nonce(account: AccountId) -> Nonce

Get current account nonce of given AccountId.
source§

impl AuraApiV1<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, Public> for Runtime

source§

fn slot_duration() -> SlotDuration

Returns the slot duration for Aura. Read more
source§

fn authorities() -> Vec<AuraId>

Return the current set of authorities.
source§

impl BenchmarkV1<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn benchmark_metadata(extra: bool) -> (Vec<BenchmarkList>, Vec<StorageInfo>)

Get the benchmark metadata available for this runtime. Read more
source§

fn dispatch_benchmark( config: BenchmarkConfig ) -> Result<Vec<BenchmarkBatch>, RuntimeString>

Dispatch the given benchmark.
source§

impl BlockBuilderV6<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn apply_extrinsic( extrinsic: <Block as BlockT>::Extrinsic ) -> ApplyExtrinsicResult

Apply the given extrinsic. Read more
source§

fn finalize_block() -> <Block as BlockT>::Header

Finish the current block.
source§

fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>

Generate inherent extrinsics. The inherent data will vary from chain to chain.
source§

fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult

Check that the inherents are valid. The inherent data will vary from chain to chain.
source§

impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller

source§

fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>

Extract the signer from the message if it is a Signed origin.
source§

fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>

Extract a reference to the system-level RawOrigin if it is that.
§

fn as_signed(&self) -> Option<&AccountId>

Extract the signer from it if a system Signed origin, None otherwise.
§

fn is_root(&self) -> bool

Returns true if self is a system Root origin, None otherwise.
§

fn is_none(&self) -> bool

Returns true if self is a system None origin, None otherwise.
source§

impl Clone for Runtime

source§

fn clone(&self) -> Runtime

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Config<()> for Runtime

§

type Balance = u128

The type for recording an account’s balance.

§

type RuntimeEvent = RuntimeEvent

The ubiquitous event type.

§

type FreezeIdentifier = RuntimeFreezeReason

The ID type for freezes.
§

type RuntimeHoldReason = RuntimeHoldReason

The overarching hold reason.
§

type RuntimeFreezeReason = RuntimeFreezeReason

The overarching freeze reason.
§

type MaxFreezes = MaxFreezes

The maximum number of individual freeze locks that can exist on an account at any time.
§

type MaxLocks = MaxLocks

The maximum number of locks that should exist on an account. Not strictly enforced, but used for weight estimation.
§

type MaxReserves = MaxReserves

The maximum number of named reserves that can exist on an account.
§

type ReserveIdentifier = [u8; 8]

The ID type for reserves. Read more
§

type DustRemoval = ()

Handler for the unbalanced reduction when removing a dust account.
§

type ExistentialDeposit = ExistentialDeposit

The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! Read more
§

type AccountStore = Pallet<Runtime>

The means of storing the balances of an account.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

A stable ID for a validator.
§

type ValidatorIdOf = ()

A conversion from account ID to validator ID. Read more
§

type ShouldEndSession = PeriodicSessions<Period, Offset>

Indicator for when to end the session.
§

type NextSessionRotation = ()

Something that can predict the next session rotation. This should typically come from the same logical unit that provides [ShouldEndSession], yet, it gives a best effort estimate. It is helpful to implement [EstimateNextNewSession].
§

type SessionManager = ()

Handler for managing new session.
§

type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders

Handler when a session has changed.
§

type Keys = SessionKeys

The keys.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type AccountIndex = u64

Type used for storing an account’s index; implies the maximum number of accounts the system can hold.
§

type Currency = Pallet<Runtime, ()>

The currency trait.
§

type Deposit = IndicesDeposit

The deposit needed for reserving an index.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>

Find the author of a block.
§

type EventHandler = ()

An event handler for authored blocks.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type Currency = Pallet<Runtime, ()>

The currency mechanism.
§

type DepositBase = DepositBase

The base amount of currency needed to reserve for creating a multisig execution or to store a dispatch call for later. Read more
§

type DepositFactor = DepositFactor

The amount of currency needed per unit threshold when creating a multisig execution. Read more
§

type MaxSignatories = MaxSignitors

The maximum amount of signatories allowed in the multisig.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type BaseCallFilter = Everything

The basic call filter to use in dispatchable.

§

type BlockWeights = BlockWeights

Block & extrinsics weights: base values and limits.

§

type BlockLength = BlockLength

The maximum length of a block (in bytes).

§

type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

The identifier used to distinguish between accounts.

§

type RuntimeCall = RuntimeCall

The aggregated dispatch type that is available for extrinsics.

§

type Lookup = AccountIdLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>

The lookup mechanism to get account ID from whatever is passed in dispatchers.

§

type Hash = <BlakeTwo256 as Hasher>::Out

The type for hashing blocks and tries.

§

type Hashing = BlakeTwo256

The hashing algorithm used.

§

type Block = Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>

The block type as expected in this runtime

§

type Nonce = u64

The nonce type for storing how many extrinsics an account has signed.

§

type RuntimeEvent = RuntimeEvent

The ubiquitous event type.

§

type RuntimeOrigin = RuntimeOrigin

The ubiquitous origin type.

§

type BlockHashCount = BlockHashCount

Maximum number of block number to block hash mappings to keep (oldest pruned first).

§

type DbWeight = RocksDbWeight

The weight of database operations that the runtime can invoke.

§

type Version = Version

Version of the runtime.

§

type PalletInfo = PalletInfo

Converts a Pallet to the index of the Pallet in construct_runtime!.

This type is being generated by construct_runtime!.

§

type OnNewAccount = ()

What to do if a new account is created.

§

type OnKilledAccount = ()

What to do if an account is fully reaped from the system.

§

type AccountData = AccountData<u128>

The data to be stored in an account.

§

type SystemWeightInfo = ()

Weight information for the extrinsics of this pallet.

§

type SS58Prefix = SS58Prefix

This is used as an identifier of the chain. 42 is the generic substrate prefix.

§

type OnSetCode = ()

The set code logic, just the default since we’re not a parachain.

§

type RuntimeTask = RuntimeTask

The aggregated RuntimeTask type.
§

type MaxConsumers = ConstU32<16>

The maximum number of consumers allowed on a single account.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The event type of this module.
§

type KeyOwnerProof = Void

The proof of key ownership, used for validating equivocation reports The proof include the session index and validator count of the session at which the equivocation occurred.
§

type MaxNominators = MaxNominators

The maximum number of nominators for each validator.
§

type WeightInfo = ()

Weights for this pallet.
§

type MaxAuthorities = MaxAuthorities

Max Authorities in use
§

type MaxSetIdSessionEntries = ConstU64<100>

The maximum number of entries to keep in the set id to session index mapping. Read more
§

type EquivocationReportSystem = ()

The equivocation handling subsystem, defines methods to check/report an offence and for submitting a transaction to report an equivocation (from an offchain context).
source§

impl Config for Runtime

§

type RuntimeHoldReason = RuntimeHoldReason

§

type DidIdentifier = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

Type for a DID subject identifier.
§

type KeyDeposit = KeyDeposit

The amount of balance that will be taken for each added key as a deposit to incentivise fair use of the on chain storage.
§

type ServiceEndpointDeposit = ServiceEndpointDeposit

The amount of balance that will be taken for each service endpoint as a deposit to incentivise fair use of the on chain storage. The deposit can be reclaimed when the service endpoint is removed or the DID deleted.
§

type BaseDeposit = DidBaseDeposit

The amount of balance that will be taken for each DID as a deposit to incentivise fair use of the on chain storage. The deposits increase by the amount of used keys and service endpoints. The deposit can be reclaimed when the DID is deleted.
§

type RuntimeEvent = RuntimeEvent

Overarching event type.
§

type RuntimeCall = RuntimeCall

Type for a dispatchable call that can be proxied through the DID pallet to support DID-based authorisation.
§

type RuntimeOrigin = RuntimeOrigin

§

type Currency = Pallet<Runtime, ()>

The currency that is used to reserve funds for each did.
§

type Fee = DidFee

The amount of balance that will be taken for each DID as a fee to incentivise fair use of the on chain storage. The fee will not get refunded when the DID is deleted.
§

type FeeCollector = ToAuthorCredit<Runtime>

The logic for handling the fee.
§

type EnsureOrigin = EnsureSigned<<Runtime as Config>::DidIdentifier>

The origin check for all DID calls inside this pallet.
§

type OriginSuccess = <Runtime as Config>::DidIdentifier

The return type when the DID origin check was successful.
§

type MaxNewKeyAgreementKeys = MaxNewKeyAgreementKeys

Maximum number of key agreement keys that can be added in a creation operation.
§

type MaxTotalKeyAgreementKeys = MaxTotalKeyAgreementKeys

Maximum number of total key agreement keys that can be stored for a DID subject. Read more
§

type MaxPublicKeysPerDid = MaxPublicKeysPerDid

Maximum number of total public keys which can be stored per DID key identifier. This includes the ones currently used for authentication, key agreement, attestation, and delegation.
§

type MaxBlocksTxValidity = MaxBlocksTxValidity

The maximum number of blocks a DID-authorized operation is considered valid after its creation.
§

type MaxNumberOfServicesPerDid = MaxNumberOfServicesPerDid

The maximum number of services that can be stored under a DID.
§

type MaxServiceIdLength = MaxServiceIdLength

The maximum length of a service ID.
§

type MaxServiceTypeLength = MaxServiceTypeLength

The maximum length of a service type description.
§

type MaxServiceUrlLength = MaxServiceUrlLength

The maximum length of a service URL.
§

type MaxNumberOfTypesPerService = MaxNumberOfTypesPerService

The maximum number of a types description for a service endpoint.
§

type MaxNumberOfUrlsPerService = MaxNumberOfUrlsPerService

The maximum number of a URLs for a service endpoint.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
§

type BalanceMigrationManager = ()

Migration manager to handle new created entries
source§

impl Config for Runtime

§

type WeightInfo = ()

Type representing the weight of this pallet
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

A sudo-able call.
source§

impl Config for Runtime

§

type RuntimeHoldReason = RuntimeHoldReason

§

type Signature = DummySignature

§

type DelegationSignatureVerification = AlwaysVerify<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Vec<u8, Global>, <Runtime as Config>::Signature>

§

type DelegationEntityId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

§

type DelegationNodeId = <BlakeTwo256 as Hasher>::Out

§

type EnsureOrigin = EnsureDidOrigin<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

§

type OriginSuccess = DidRawOrigin<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

§

type RuntimeEvent = RuntimeEvent

§

type MaxSignatureByteLength = MaxSignatureByteLength

§

type MaxParentChecks = MaxParentChecks

Maximum number of upwards traversals of the delegation tree from a node to the root and thus the depth of the delegation tree.
§

type MaxRevocations = MaxRevocations

Maximum number of revocations.
§

type MaxRemovals = MaxRemovals

Maximum number of removals. Should be same as MaxRevocations
§

type MaxChildren = MaxChildren

Maximum number of all children for a delegation node. For a binary tree, this should be twice the maximum depth of the tree, i.e. 2 ^ MaxParentChecks.
§

type WeightInfo = ()

§

type Currency = Pallet<Runtime, ()>

The currency that is used to reserve funds for each delegation.
§

type Deposit = DelegationDeposit

The deposit that is required for storing a delegation.
§

type BalanceMigrationManager = ()

Migration manager to handle new created entries
source§

impl Config for Runtime

§

type RuntimeHoldReason = RuntimeHoldReason

§

type EnsureOrigin = EnsureDidOrigin<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

§

type OriginSuccess = DidRawOrigin<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

§

type RuntimeEvent = RuntimeEvent

§

type WeightInfo = ()

§

type Currency = Pallet<Runtime, ()>

The currency that is used to hold funds for each attestation.
§

type Deposit = AttestationDeposit

The deposit that is required for storing an attestation.
§

type MaxDelegatedAttestations = MaxDelegatedAttestations

The maximum number of delegated attestations which can be made by the same delegation.
§

type AttesterId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

§

type AuthorizationId = AuthorizationId<<Runtime as Config>::DelegationNodeId>

§

type AccessControl = PalletAuthorize<DelegationAc<Runtime>>

§

type BalanceMigrationManager = ()

Migration manager to handle new created entries
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type Currency = Pallet<Runtime, ()>

The currency mechanism.
§

type ProxyType = ProxyType

A kind of proxy; specified with the proxy and passed in to the IsProxyable fitler. The instance filter determines whether a given call may be proxied under this type. Read more
§

type ProxyDepositBase = ProxyDepositBase

The base amount of currency needed to reserve for creating a proxy. Read more
§

type ProxyDepositFactor = ProxyDepositFactor

The amount of currency needed per proxy added. Read more
§

type MaxProxies = MaxProxies

The maximum amount of proxies allowed for a single account.
§

type MaxPending = MaxPending

The maximum amount of time-delayed announcements that are allowed to be pending.
§

type CallHasher = BlakeTwo256

The type of hash used for hashing the call.
§

type AnnouncementDepositBase = AnnouncementDepositBase

The base amount of currency needed to reserve for creating an announcement. Read more
§

type AnnouncementDepositFactor = AnnouncementDepositFactor

The amount of currency needed per announcement made. Read more
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type AuthorityId = Public

The identifier type for an authority.
§

type DisabledValidators = ()

A way to check whether a given validator is disabled and should not be authoring blocks. Blocks authored by a disabled validator will lead to a panic as part of this module’s initialization.
§

type MaxAuthorities = MaxAuthorities

The maximum number of authorities that the pallet can hold.
§

type AllowMultipleBlocksPerSlot = ConstBool<false>

Whether to allow block authors to create multiple blocks per slot. Read more
source§

impl Config for Runtime

§

type Moment = u64

A timestamp: milliseconds since the unix epoch.

§

type OnTimestampSet = Pallet<Runtime>

Something which can be notified (e.g. another pallet) when the timestamp is set. Read more
§

type MinimumPeriod = MinimumPeriod

The minimum period between blocks. Read more
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

fn prepare_set_code_data() -> Vec<u8, Global>

Adds ability to the Runtime to test against their sample code. Read more
§

fn setup_set_code_requirements( _code: &Vec<u8, Global> ) -> Result<(), BenchmarkError>

Adds ability to the Runtime to prepare/initialize before running benchmark set_code.
§

fn verify_set_code()

Adds ability to the Runtime to do custom validation after benchmark. Read more
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type OnChargeTransaction = FungibleAdapter<Pallet<Runtime, ()>, ToAuthorCredit<Runtime>>

Handler for withdrawing, refunding and depositing the transaction fee. Transaction fees are withdrawn before the transaction is executed. After the transaction was executed the transaction weight can be adjusted, depending on the used resources by the transaction. If the transaction weight is lower than expected, parts of the transaction fee might be refunded. In the end the fees can be deposited.
§

type OperationalFeeMultiplier = OperationalFeeMultiplier

A fee multiplier for Operational extrinsics to compute “virtual tip” to boost their priority Read more
§

type WeightToFee = IdentityFee<u128>

Convert a weight value into a deductible fee based on the currency type.
§

type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>

Convert a length value into a deductible fee based on the currency type.
§

type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>

Update the multiplier of the next block, based on the previous block’s weight.
source§

impl Config for Runtime

§

type RuntimeHoldReason = RuntimeHoldReason

§

type RuntimeEvent = RuntimeEvent

§

type DidIdentifier = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

The identifier to which accounts can get associated.
§

type Currency = Pallet<Runtime, ()>

The currency that is used to reserve funds for each did.
§

type Deposit = DidLookupDeposit

The amount of balance that will be taken for each DID as a deposit to incentivise fair use of the on chain storage. The deposit can be reclaimed when the DID is deleted.
§

type EnsureOrigin = EnsureDidOrigin<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin that can associate accounts to itself.
§

type OriginSuccess = DidRawOrigin<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The information that is returned by the origin check.
§

type BalanceMigrationManager = ()

Migration manager to handle new created entries
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type Currency = Pallet<Runtime, ()>

§

type Fee = Fee

§

type FeeCollector = ToAuthorCredit<Runtime>

§

type CtypeCreatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

§

type EnsureOrigin = EnsureDidOrigin<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

§

type OriginSuccess = DidRawOrigin<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

§

type OverarchingOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

§

type RuntimeEvent = RuntimeEvent

§

type WeightInfo = ()

source§

impl Config for Runtime

§

type RuntimeHoldReason = RuntimeHoldReason

§

type AccessControl = PalletAuthorize<DelegationAc<Runtime>>

The access control logic.
§

type AttesterId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

The identifier of the credential attester.
§

type AuthorizationId = AuthorizationId<<Runtime as Config>::DelegationNodeId>

The identifier of the authorization info to perform access control for the different operations.
§

type CredentialId = <BlakeTwo256 as Hasher>::Out

The type of a credential identifier.
§

type CredentialHash = BlakeTwo256

The hashing algorithm to derive a credential identifier from the credential content.
§

type Currency = Pallet<Runtime, ()>

The currency that is used to reserve funds for each credential.
§

type Deposit = Deposit

The amount of tokens to reserve when attesting a public credential.
§

type EnsureOrigin = EnsureDidOrigin<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin allowed to issue/revoke/remove public credentials.
§

type MaxEncodedClaimsLength = MaxEncodedClaimsLength

The maximum length in bytes of the encoded claims of a credential.
§

type MaxSubjectIdLength = MaxSubjectIdLength

The maximum length in bytes of the raw credential subject identifier.
§

type OriginSuccess = DidRawOrigin<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The type of the origin when successfully converted from the outer origin.
§

type RuntimeEvent = RuntimeEvent

The ubiquitous event type.
§

type SubjectId = AssetDid

The type of the credential subject ID after being parsed from the raw attester-provided input.
§

type WeightInfo = ()

The weight info.
§

type BalanceMigrationManager = ()

Migration manager to handle new created entries
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type PalletsOrigin = OriginCaller

The caller origin, overarching type of all pallets origins.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeHoldReason = RuntimeHoldReason

Aggregated hold reason.
§

type BanOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin allowed to ban names.
§

type OwnerOrigin = EnsureDidOrigin<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin allowed to perform regular operations.
§

type OriginSuccess = DidRawOrigin<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The type of origin after a successful origin check.
§

type Currency = Pallet<Runtime, ()>

The currency type to reserve and release deposits.
§

type Deposit = Web3NameDeposit

The amount of KILT to deposit to claim a name.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type MaxNameLength = MaxNameLength

The max encoded length of a name.
§

type MinNameLength = MinNameLength

The min encoded length of a name.
§

type Web3Name = AsciiWeb3Name<Runtime>

The type of a name.
§

type Web3NameOwner = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

The type of a name owner.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
§

type BalanceMigrationManager = ()

Migration manager to handle new created entries
source§

impl CoreV4<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn version() -> RuntimeVersion

Returns the version of the runtime.
source§

fn execute_block(block: Block)

Execute the given block.
source§

fn initialize_block(header: &<Block as BlockT>::Header)

Initialize a block with the given header.
source§

impl Debug for Runtime

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DidV2<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, LinkableAccountId, u128, <BlakeTwo256 as Hasher>::Out, u64> for Runtime

source§

impl EnsureInherentsAreFirst<<Runtime as Config>::Block> for Runtime

source§

fn ensure_inherents_are_first( block: &<Runtime as Config>::Block ) -> Result<(), u32>

Ensure the position of inherent is correct, i.e. they are before non-inherents. Read more
source§

impl GetRuntimeBlockType for Runtime

§

type RuntimeBlock = <Runtime as Config>::Block

The RuntimeBlock type.
source§

impl GrandpaApiV3<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn current_set_id() -> SetId

Get current GRANDPA authority set id.
source§

fn grandpa_authorities() -> GrandpaAuthorityList

Get the current GRANDPA authorities and weights. This should not change except for when changes are scheduled and the corresponding delay has passed. Read more
source§

fn submit_report_equivocation_unsigned_extrinsic( _equivocation_proof: EquivocationProof<<Block as BlockT>::Hash, NumberFor<Block>>, _key_owner_proof: OpaqueKeyOwnershipProof ) -> Option<()>

Submits an unsigned extrinsic to report an equivocation. The caller must provide the equivocation proof and a key ownership proof (should be obtained using generate_key_ownership_proof). The extrinsic will be unsigned and should only be accepted for local authorship (not to be broadcast to the network). This method returns None when creation of the extrinsic fails, e.g. if equivocation reporting is disabled for the given runtime (i.e. this method is hardcoded to return None). Only useful in an offchain context.
source§

fn generate_key_ownership_proof( _set_id: SetId, _authority_id: GrandpaId ) -> Option<OpaqueKeyOwnershipProof>

Generates a proof of key ownership for the given authority in the given set. An example usage of this module is coupled with the session historical module to prove that a given authority key is tied to a given staking identity during a specific session. Proofs of key ownership are necessary for submitting equivocation reports. NOTE: even though the API takes a set_id as parameter the current implementations ignore this parameter and instead rely on this method being called at the correct block height, i.e. any point at which the given set id is live on-chain. Future implementations will instead use indexed data through an offchain worker, not requiring older states to be available.
source§

impl MetadataV2<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn metadata() -> OpaqueMetadata

Returns the metadata of a runtime.
source§

fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>

Returns the metadata at a given version. Read more
source§

fn metadata_versions() -> Vec<u32>

Returns the supported metadata versions. Read more
source§

impl OffchainWorkerApiV2<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn offchain_worker(header: &<Block as BlockT>::Header)

Starts the off-chain task for given block header.
source§

impl PartialEq<Runtime> for Runtime

source§

fn eq(&self, other: &Runtime) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PublicCredentialsV1<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, Vec<u8, Global>, <BlakeTwo256 as Hasher>::Out, CredentialEntry<<BlakeTwo256 as Hasher>::Out, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u64, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, AuthorizationId<<Runtime as Config>::DelegationNodeId>>, PublicCredentialsFilter<<BlakeTwo256 as Hasher>::Out, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, PublicCredentialsApiError> for Runtime

source§

fn get_by_id( credential_id: Hash ) -> Option<CredentialEntry<Hash, DidIdentifier, BlockNumber, AccountId, Balance, AuthorizationId<<Runtime as Config>::DelegationNodeId>>>

Return the public credential with the specified ID, if found.
source§

fn get_by_subject( subject: Vec<u8>, filter: Option<PublicCredentialsFilter<Hash, AccountId>> ) -> Result<Vec<(Hash, CredentialEntry<Hash, DidIdentifier, BlockNumber, AccountId, Balance, AuthorizationId<<Runtime as Config>::DelegationNodeId>>)>, PublicCredentialsApiError>

Return all the public credentials linked to the specified subject. An optional filter can be passed to be applied to the result before being returned to the client. It returns an error if the provided specified subject ID is not valid.
source§

impl SessionKeysV1<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn generate_session_keys(seed: Option<Vec<u8>>) -> Vec<u8>

Generate a set of session keys with optionally using the given seed. The keys should be stored within the keystore exposed via runtime externalities. Read more
source§

fn decode_session_keys(encoded: Vec<u8>) -> Option<Vec<(Vec<u8>, KeyTypeId)>>

Decode the given public session keys. Read more
source§

impl TaggedTransactionQueueV3<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn validate_transaction( source: TransactionSource, tx: <Block as BlockT>::Extrinsic, block_hash: <Block as BlockT>::Hash ) -> TransactionValidity

Validate the transaction. Read more
source§

impl TransactionPaymentApiV4<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128> for Runtime

source§

fn query_info( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> RuntimeDispatchInfo<Balance>

source§

fn query_fee_details( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> FeeDetails<Balance>

source§

fn query_weight_to_fee(weight: Weight) -> Balance

source§

fn query_length_to_fee(length: u32) -> Balance

source§

impl TransactionPaymentCallApiV3<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128, RuntimeCall> for Runtime

source§

fn query_call_info(call: RuntimeCall, len: u32) -> RuntimeDispatchInfo<Balance>

Query information of a dispatch class, weight, and fee of a given encoded Call.
source§

fn query_call_fee_details(call: RuntimeCall, len: u32) -> FeeDetails<Balance>

Query fee details of a given encoded Call.
source§

fn query_weight_to_fee(weight: Weight) -> Balance

Query the output of the current WeightToFee given some input.
source§

fn query_length_to_fee(length: u32) -> Balance

Query the output of the current LengthToFee given some input.
source§

impl TryRuntimeV1<Block<Header<u64, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn on_runtime_upgrade(checks: UpgradeCheckSelect) -> (Weight, Weight)

dry-run runtime upgrades, returning the total weight consumed. Read more
source§

fn execute_block( block: Block, state_root_check: bool, sig_check: bool, select: TryStateSelect ) -> Weight

Execute the given block, but optionally disable state-root and signature checks. Read more
source§

impl TypeInfo for Runtime

§

type Identity = Runtime

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl ValidateUnsigned for Runtime

§

type Call = RuntimeCall

The call to validate
source§

fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>

Validate the call right before dispatch. Read more
source§

fn validate_unsigned( source: TransactionSource, call: &Self::Call ) -> TransactionValidity

Return the validity of the call Read more
source§

impl Config for Runtime

source§

impl Copy for Runtime

source§

impl Eq for Runtime

source§

impl StructuralEq for Runtime

source§

impl StructuralPartialEq for Runtime

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<S> CallSources<S, S> for Swhere S: Clone,

source§

fn sender(&self) -> S

The sender of the call who will pay for all deposits and fees.
source§

fn subject(&self) -> S

The subject of the call.
§

impl<T> CheckedConversion for T

§

fn checked_from<T>(t: T) -> Option<Self>where Self: TryFrom<T>,

Convert from a value of T into an equivalent instance of Option<Self>. Read more
§

fn checked_into<T>(self) -> Option<T>where Self: TryInto<T>,

Consume self to return Some equivalent value of Option<T>. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T> IsType<T> for T

§

fn from_ref(t: &T) -> &T

Cast reference.
§

fn into_ref(&self) -> &T

Cast reference.
§

fn from_mut(t: &mut T) -> &mut T

Cast mutable reference.
§

fn into_mut(&mut self) -> &mut T

Cast mutable reference.
§

impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,

§

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

§

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

§

impl<T> Pipe for Twhere T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> Rwhere Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R ) -> Rwhere Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SaturatedConversion for T

§

fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,

Convert from a value of T into an equivalent instance of Self. Read more
§

fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,

Consume self to return an equivalent value of T. Read more
§

impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,

§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,

§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
§

impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,

§

fn unique_saturated_into(self) -> T

Consume self to return an equivalent value of T.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> JsonSchemaMaybe for T

§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> Member for Twhere T: Send + Sync + Debug + Eq + PartialEq<T> + Clone + 'static,

source§

impl<T> Scalar for Twhere T: 'static + Clone + PartialEq<T> + Debug,

§

impl<T> StaticTypeInfo for Twhere T: TypeInfo + 'static,