Struct hashed_runtime::Runtime

source ·
pub struct Runtime;

Implementations§

source§

impl Runtime

source

pub fn metadata() -> RuntimeMetadataPrefixed

Trait Implementations§

source§

impl AccountNonceApiV1<Block<Header<u32, 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, u32> for Runtime

source§

fn account_nonce(account: AccountId) -> Index

Get current account nonce of given AccountId.
source§

impl AuraApiV1<Block<Header<u32, 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 BlockBuilderV6<Block<Header<u32, 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.
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 RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Balance = u128

The units in which we record balances.
§

type AssetId = u32

Identifier for the class of asset.
§

type Currency = Pallet<Runtime, ()>

The currency mechanism.
§

type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

Standard asset class creation is only allowed if the origin attempting it and the asset class are in this set.
§

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

The origin which may forcibly create or destroy an asset or otherwise alter privileged attributes.
§

type AssetDeposit = AssetDeposit

The basic amount of funds that must be reserved for an asset.
§

type AssetAccountDeposit = ConstU128<DOLLARS>

The amount of funds that must be reserved for a non-provider asset account to be maintained.
§

type MetadataDepositBase = MetadataDepositBase

The basic amount of funds that must be reserved when adding metadata to your asset.
§

type MetadataDepositPerByte = MetadataDepositPerByte

The additional funds that must be reserved for the number of bytes you store in your metadata.
§

type ApprovalDeposit = ApprovalDeposit

The amount of funds that must be reserved when creating a new approval.
§

type StringLimit = StringLimit

The maximum length of a name or symbol stored on-chain.
§

type Freezer = ()

A hook to allow a per-asset, per-account minimum balance to be enforced. This must be respected in all permissionless operations.
§

type Extra = ()

Additional data to be stored with an account’s asset balance.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
§

type RemoveItemsLimit = RemoveItemsLimit

Max number of items to destroy per destroy_accounts and destroy_approvals call. Read more
§

type AssetIdParameter = u32

Wrapper around Self::AssetId to use in dispatchable call signatures. Allows the use of compact encoding in instances of the pallet, which will prevent breaking changes resulting from the removal of HasCompact from Self::AssetId. Read more
§

type CallbackHandle = ()

Callback methods for asset state change (e.g. asset created or destroyed)
source§

impl Config<()> for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type BountyDepositBase = BountyDepositBase

The amount held on deposit for placing a bounty proposal.
§

type BountyDepositPayoutDelay = BountyDepositPayoutDelay

The delay period for which a bounty beneficiary need to wait before claim the payout.
§

type BountyUpdatePeriod = BountyUpdatePeriod

Bounty duration in blocks.
§

type CuratorDepositMultiplier = CuratorDepositMultiplier

The curator deposit is calculated as a percentage of the curator fee. Read more
§

type CuratorDepositMin = CuratorDepositMin

Minimum amount of funds that should be placed in a deposit for making a proposal.
§

type CuratorDepositMax = CuratorDepositMax

Maximum amount of funds that should be placed in a deposit for making a proposal.
§

type BountyValueMinimum = BountyValueMinimum

Minimum value for a bounty.
§

type DataDepositPerByte = DataDepositPerByte

The amount held on deposit per byte within the tip report reason or bounty description.
§

type MaximumReasonLength = MaximumReasonLength

Maximum acceptable reason length. Read more
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type ChildBountyManager = ()

The child bounty manager.
source§

impl Config<()> for Runtime

§

type Balance = u128

The type for recording an account’s balance.

§

type RuntimeEvent = RuntimeEvent

The ubiquitous event type.

§

type MaxLocks = MaxLocks

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

type MaxReserves = ()

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

type ReserveIdentifier = [u8; 8]

The id type for named reserves.
§

type DustRemoval = ()

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

type ExistentialDeposit = ExistentialDeposit

The minimum amount required to keep an account open.
§

type AccountStore = Pallet<Runtime>

The means of storing the balances of an account.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config<()> for Runtime

§

type PalletId = TreasuryPalletId

The treasury’s pallet id, used for deriving its sovereign account ID.
§

type Currency = Pallet<Runtime, ()>

The staking balance.
§

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

Origin from which approvals must come.
§

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

Origin from which rejections must come.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type OnSlash = Pallet<Runtime, ()>

Handler for the unbalanced decrease when slashing for a rejected proposal or bounty.
§

type ProposalBond = ProposalBond

Fraction of a proposal’s value that should be bonded in order to place the proposal. An accepted proposal gets these back. A rejected proposal does not.
§

type ProposalBondMinimum = ProposalBondMinimum

Minimum amount of funds that should be placed in a deposit for making a proposal.
§

type ProposalBondMaximum = ProposalBondMaximum

Maximum amount of funds that should be placed in a deposit for making a proposal.
§

type SpendPeriod = SpendPeriod

Period between successive spends.
§

type SpendOrigin = NeverEnsureOrigin<u128>

The origin required for approving spends from the treasury outside of the proposal process. The Success value is the maximum amount that this origin is allowed to spend at a time.
§

type Burn = Burn

Percentage of spare funds (if any) that are burnt per spend period.
§

type BurnDestination = Pallet<Runtime, ()>

Handler for the unbalanced decrease when treasury funds are burned.
§

type MaxApprovals = MaxApprovals

The maximum number of approvals that can wait in the spending queue. Read more
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
§

type SpendFunds = Pallet<Runtime, ()>

Runtime hooks to external pallet using treasury to compute spend funds.
source§

impl Config<()> for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime, ()>

The currency type used for bidding.
§

type Randomness = Pallet<Runtime>

Something that provides randomness in the runtime.
§

type CandidateDeposit = CandidateDeposit

The minimum amount of a deposit required for a bid to be made.
§

type WrongSideDeduction = WrongSideDeduction

The amount of the unpaid reward that gets deducted in the case that either a skeptic doesn’t vote or someone votes in the wrong way.
§

type MaxStrikes = MaxStrikes

The number of times a member may vote the wrong way (or not at all, when they are a skeptic) before they become suspended.
§

type PeriodSpend = PeriodSpend

The amount of incentive paid within each period. Doesn’t include VoterTip.
§

type MembershipChanged = ()

The receiver of the signal for when the members have changed.
§

type RotationPeriod = RotationPeriod

The number of blocks between candidate/membership rotation periods.
§

type MaxLockDuration = MaxLockDuration

The maximum duration of the payout lock.
§

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

The origin that is allowed to call found.
§

type SuspensionJudgementOrigin = EnsureFounder<Runtime>

The origin that is allowed to make suspension judgements.
§

type ChallengePeriod = ChallengePeriod

The number of blocks between membership challenges.
§

type MaxCandidateIntake = MaxCandidateIntake

The maximum number of candidates that we accept per round.
§

type PalletId = SocietyPalletId

The societies’s pallet id
source§

impl Config<()> for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Balance = u128

The units in which we record balances.
§

type AssetId = u32

Identifier for the class of asset.
§

type Currency = Pallet<Runtime, ()>

The currency mechanism.
§

type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

Standard asset class creation is only allowed if the origin attempting it and the asset class are in this set.
§

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

The origin which may forcibly create or destroy an asset or otherwise alter privileged attributes.
§

type AssetDeposit = AssetDeposit

The basic amount of funds that must be reserved for an asset.
§

type AssetAccountDeposit = ConstU128<DOLLARS>

The amount of funds that must be reserved for a non-provider asset account to be maintained.
§

type MetadataDepositBase = MetadataDepositBase

The basic amount of funds that must be reserved when adding metadata to your asset.
§

type MetadataDepositPerByte = MetadataDepositPerByte

The additional funds that must be reserved for the number of bytes you store in your metadata.
§

type ApprovalDeposit = ApprovalDeposit

The amount of funds that must be reserved when creating a new approval.
§

type StringLimit = StringLimit

The maximum length of a name or symbol stored on-chain.
§

type Freezer = ()

A hook to allow a per-asset, per-account minimum balance to be enforced. This must be respected in all permissionless operations.
§

type Extra = ()

Additional data to be stored with an account’s asset balance.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
§

type MaxReserves = MaxReserves

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

type ReserveIdentifier = u32

The id type for named reserves.
§

type RemoveItemsLimit = RemoveItemsLimit

Max number of items to destroy per destroy_accounts and destroy_approvals call. Read more
§

type AssetIdParameter = u32

Wrapper around Self::AssetId to use in dispatchable call signatures. Allows the use of compact encoding in instances of the pallet, which will prevent breaking changes resulting from the removal of HasCompact from Self::AssetId. Read more
§

type CallbackHandle = DefaultCallback

Callback methods for asset state change (e.g. asset created or destroyed)
§

type Rbac = Pallet<Runtime>

source§

impl Config<()> for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

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

Required origin for adding a member (though can always be Root).
§

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

Required origin for removing a member (though can always be Root).
§

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

Required origin for adding and removing a member in a single action.
§

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

Required origin for resetting membership.
§

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

Required origin for setting or resetting the prime member.
§

type MembershipInitialized = Pallet<Runtime, Instance1>

The receiver of the signal for when the membership has been initialized. This happens pre-genesis and will usually be the same as MembershipChanged. If you need to do something different on initialization, then you can change this accordingly.
§

type MembershipChanged = Pallet<Runtime, Instance1>

The receiver of the signal for when the membership has changed.
§

type MaxMembers = MembershipMaxMembers

The maximum number of members that this membership can have. Read more
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config<()> for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type CollectionId = u32

Identifier for the collection of item.
§

type ItemId = u32

The type used to identify a unique item within a collection.
§

type Currency = Pallet<Runtime, ()>

The currency mechanism, used for paying for reserves.
§

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

The origin which may forcibly create or destroy an item or otherwise alter privileged attributes.
§

type CollectionDeposit = CollectionDeposit

The basic amount of funds that must be reserved for collection.
§

type ItemDeposit = ItemDeposit

The basic amount of funds that must be reserved for an item.
§

type MetadataDepositBase = MetadataDepositBase

The basic amount of funds that must be reserved when adding metadata to your item.
§

type AttributeDepositBase = MetadataDepositBase

The basic amount of funds that must be reserved when adding an attribute to an item.
§

type DepositPerByte = MetadataDepositPerByte

The additional funds that must be reserved for the number of bytes store in metadata, either “normal” metadata or attribute metadata.
§

type StringLimit = StringLimit

The maximum length of data stored on-chain.
§

type KeyLimit = KeyLimit

The maximum length of an attribute key.
§

type ValueLimit = ValueLimit

The maximum length of an attribute value.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

Standard collection creation is only allowed if the origin attempting it and the collection are in this set.
§

type Locker = ()

Locker trait to enable Locking mechanism downstream.
source§

impl Config<Instance1> for Runtime

§

type RuntimeOrigin = RuntimeOrigin

The runtime origin type.
§

type Proposal = RuntimeCall

The runtime call dispatch type.
§

type RuntimeEvent = RuntimeEvent

The runtime event type.
§

type MotionDuration = CouncilMotionDuration

The time-out for council motions.
§

type MaxProposals = CouncilMaxProposals

Maximum number of proposals allowed to be active in parallel.
§

type MaxMembers = CouncilMaxMembers

The maximum number of members supported by the pallet. Used for weight estimation. Read more
§

type DefaultVote = PrimeDefaultVote

Default vote strategy of this collective.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type MaxWellKnownNodes = MaxWellKnownNodes

The maximum number of well known nodes that are allowed to set
§

type MaxPeerIdLength = MaxPeerIdLength

The maximum length in bytes of PeerId
§

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

The origin which can add a well known node.
§

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

The origin which can remove a well known node.
§

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

The origin which can swap the well known nodes.
§

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

The origin which can reset the well known nodes.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type AuthorityId = TestAuthId

The identifier type for an offchain worker.
§

type RuntimeEvent = RuntimeEvent

Because this pallet emits events, it depends on the runtime’s definition of an event.
§

type ChangeBDKOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>

§

type XPubLen = XPubLen

§

type PSBTMaxLen = PSBTMaxLen

§

type MaxVaultsPerUser = MaxVaultsPerUser

It counts both owned vaults and vaults where the user is a cosigner
§

type MaxCosignersPerVault = MaxCosignersPerVault

§

type VaultDescriptionMaxLen = VaultDescriptionMaxLen

§

type OutputDescriptorMaxLen = OutputDescriptorMaxLen

§

type MaxProposalsPerVault = MaxProposalsPerVault

source§

impl Config for Runtime

Configure the pallet-template in pallets/template.

§

type RuntimeEvent = RuntimeEvent

Because this pallet emits events, it depends on the runtime’s definition of an event.
source§

impl Config for Runtime

§

type AccountIndex = u32

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 = IndexDeposit

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 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 Index = u32

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

§

type BlockNumber = u32

The index type for blocks.

§

type Hash = H256

The type for hashing blocks and tries.

§

type Hashing = BlakeTwo256

The hashing algorithm used.

§

type Header = Header<u32, BlakeTwo256>

The header type.

§

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 module to the index of the module 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 MaxConsumers = ConstU32<16>

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

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>

§

type Rbac = Pallet<Runtime>

The fruniques pallet id, used for deriving its sovereign account ID.
§

type ChildMaxLen = ChildMaxLen

Maximum number of children a Frunique can have
§

type MaxParentsInCollection = MaxParentsInCollection

Maximum number of roots a Collection can have
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The event type of this module.
§

type KeyOwnerProofSystem = ()

A system for proving ownership of keys, i.e. that a given key was part of a validator set, needed for validating equivocation reports.
§

type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof

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

type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple

The identification of a key owner, used when reporting equivocations.
§

type HandleEquivocation = ()

The equivocation handling subsystem, defines methods to report an offence (after the equivocation has been validated) and for submitting a transaction to report an equivocation (from an offchain context). NOTE: when enabling equivocation handling (i.e. this type isn’t set to ()) you must use this pallet’s ValidateUnsigned in the runtime definition.
§

type WeightInfo = ()

Weights for this pallet.
§

type MaxAuthorities = MaxAuthorities

Max Authorities in use
§

type MaxSetIdSessionEntries = MaxSetIdSessionEntries

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

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type Currency = Pallet<Runtime, ()>

The currency mechanism.
§

type ConfigDepositBase = ConfigDepositBase

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

type FriendDepositFactor = FriendDepositFactor

The amount of currency needed per additional user when creating a recovery configuration. Read more
§

type MaxFriends = MaxFriends

The maximum amount of friends allowed in a recovery configuration. Read more
§

type RecoveryDeposit = RecoveryDeposit

The base amount of currency needed to reserve for starting a recovery. Read more
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

A sudo-able call.
source§

impl Config for Runtime

source§

impl Config for Runtime

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type OnChargeTransaction = CurrencyAdapter<Pallet<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 mulitplier 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 = ()

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

impl Config for Runtime

§

type Moment = u64

A timestamp: milliseconds since the unix epoch.

§

type OnTimestampSet = Pallet<Runtime>

Something which can be notified when the timestamp is set. Set this to () if not needed.
§

type MinimumPeriod = MinimumPeriod

The minimum period between blocks. Beware that this is different to the expected period that the block production apparatus provides. Your chosen consensus system will generally work with this to determine a sensible block time. e.g. For Aura, it will be double this period on default settings.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>

§

type Timestamp = Pallet<Runtime>

§

type Moment = u64

§

type MaxRecordsAtTime = MaxRecordsAtTime

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime, ()>

The currency trait.
§

type BasicDeposit = BasicDeposit

The amount held on deposit for a registered identity
§

type FieldDeposit = FieldDeposit

The amount held on deposit per additional field for a registered identity.
§

type SubAccountDeposit = SubAccountDeposit

The amount held on deposit for a registered subaccount. This should account for the fact that one storage item’s value will increase by the size of an account ID, and there will be another trie item whose value is the size of an account ID plus 32 bytes.
§

type MaxSubAccounts = MaxSubAccounts

The maximum number of sub-accounts allowed per identified account.
§

type MaxAdditionalFields = MaxAdditionalFields

Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O required to access an identity, but can be pretty high.
§

type MaxRegistrars = MaxRegistrars

Maxmimum number of registrars allowed in the system. Needed to bound the complexity of, e.g., updating judgements.
§

type Slashed = Pallet<Runtime, ()>

What to do with slashed funds.
§

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

The origin which may forcibly set or remove a name. Root can always do this.
§

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

The origin which may add or remove registrars. Root can always do this.
§

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.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>

§

type MaxScopesPerPallet = MaxScopesPerPallet

§

type MaxRolesPerPallet = MaxRolesPerPallet

§

type RoleMaxLen = RoleMaxLen

§

type PermissionMaxLen = PermissionMaxLen

§

type MaxPermissionsPerRole = MaxPermissionsPerRole

§

type MaxRolesPerUser = MaxRolesPerUser

§

type MaxUsersPerRole = MaxUsersPerRole

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>

§

type MaxOwnedDocs = MaxOwnedDocs

Maximum number of confidential documents that a user can own
§

type MaxSharedFromDocs = MaxSharedFromDocs

Maximum number of confidential documents that a user can share
§

type MaxSharedToDocs = MaxSharedToDocs

Maximum number of confidential documents that can be shared to a user
§

type DocNameMinLen = DocNameMinLen

Minimum length for a document name
§

type DocNameMaxLen = DocNameMaxLen

Maximum length for a document name
§

type DocDescMinLen = DocDescMinLen

Minimum length for a document description
§

type DocDescMaxLen = DocDescMaxLen

Maximum length for a document description
§

type GroupNameMinLen = GroupNameMinLen

Minimum length for a groupName
§

type GroupNameMaxLen = GroupNameMaxLen

Maximum length for a groupName
§

type MaxMemberGroups = MaxMemberGroups

Maximum groups a user can belong to
source§

impl CoreV4<Block<Header<u32, 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<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere RuntimeCall: From<LocalCall>,

source§

fn create_transaction<C: AppCrypto<Self::Public, Self::Signature>>( call: RuntimeCall, public: <Signature as Verify>::Signer, account: AccountId, index: Index ) -> Option<(RuntimeCall, <UncheckedExtrinsic as Extrinsic>::SignaturePayload)>

Attempt to create signed extrinsic data that encodes call from given account. Read more
source§

impl Debug for Runtime

source§

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

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

impl EnsureInherentsAreFirst<Block<Header<u32, 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 ensure_inherents_are_first(block: &Block) -> Result<(), u32>

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

impl GetNodeBlockType for Runtime

§

type NodeBlock = Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>

The NodeBlock type.
source§

impl GetRuntimeBlockType for Runtime

§

type RuntimeBlock = Block<Header<u32, 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 RuntimeBlock type.
source§

impl GrandpaApiV3<Block<Header<u32, 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 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 current_set_id() -> SetId

Get current GRANDPA authority set id.
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 MetadataV1<Block<Header<u32, 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§

impl OffchainWorkerApiV2<Block<Header<u32, 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<C> SendTransactionTypes<C> for Runtimewhere RuntimeCall: From<C>,

§

type OverarchingCall = RuntimeCall

The runtime’s call type. Read more
§

type Extrinsic = 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 extrinsic type expected by the runtime.
source§

impl SessionKeysV1<Block<Header<u32, 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 SigningTypes for Runtime

§

type Public = <MultiSignature as Verify>::Signer

A public key that is capable of identifying AccountIds. Read more
§

type Signature = MultiSignature

A matching Signature type.
source§

impl TaggedTransactionQueueV3<Block<Header<u32, 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 TransactionPaymentApiV3<Block<Header<u32, 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 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
§

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
§

impl<T> Downcast for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for Twhere T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
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.

source§

impl<T> Instrument for T

source§

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

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

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.

§

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 = mem::align_of::<T>()

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<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

source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

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

impl<T> MaybeDebug for Twhere T: Debug,

§

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,

§

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