pub trait Get<T> {
    // Required method
    fn get() -> T;
}
Expand description

A trait for querying a single value from a type.

It is not required that the value is constant.

Required Methods§

source

fn get() -> T

Return the current value.

Implementations on Foreign Types§

source§

impl<C, A> Get<<C as Currency<A>>::Balance> for ActiveIssuanceOf<C, A>where C: Currency<A>,

source§

fn get() -> <C as Currency<A>>::Balance

source§

impl<I> Get<I> for BlockExecutionWeightwhere I: From<Weight>,

source§

fn get() -> I

source§

impl<C, A> Get<<C as Currency<A>>::Balance> for TotalIssuanceOf<C, A>where C: Currency<A>,

source§

fn get() -> <C as Currency<A>>::Balance

source§

impl<I> Get<I> for ParityDbWeightwhere I: From<RuntimeDbWeight>,

source§

fn get() -> I

source§

impl<I> Get<I> for ExtrinsicBaseWeightwhere I: From<Weight>,

source§

fn get() -> I

source§

impl<Prefix, Hasher1, Key1, Hasher2, Key2, Value, QueryKind, OnEmpty, MaxValues> Get<u32> for KeyLenOf<StorageDoubleMap<Prefix, Hasher1, Key1, Hasher2, Key2, Value, QueryKind, OnEmpty, MaxValues>>where Prefix: StorageInstance, Hasher1: StorageHasher, Hasher2: StorageHasher, Key1: MaxEncodedLen, Key2: MaxEncodedLen,

source§

impl<I> Get<I> for RocksDbWeightwhere I: From<RuntimeDbWeight>,

source§

fn get() -> I

source§

impl<Prefix, Hasher, Key, Value, QueryKind, OnEmpty, MaxValues> Get<u32> for KeyLenOf<StorageMap<Prefix, Hasher, Key, Value, QueryKind, OnEmpty, MaxValues>>where Prefix: StorageInstance, Hasher: StorageHasher, Key: FullCodec + MaxEncodedLen,

source§

impl<T, P> Get<u32> for ClassCountOf<P, T>where P: Polling<T>,

source§

impl<T> Get<T> for ()where T: Default,

source§

fn get() -> T

source§

impl<I> Get<I> for MaxPalletsInfowhere I: From<u32>,

source§

fn get() -> I

source§

impl<I> Get<I> for MaxDispatchErrorLenwhere I: From<u32>,

source§

fn get() -> I

source§

impl<I> Get<I> for MaxPalletNameLenwhere I: From<u32>,

source§

fn get() -> I

source§

impl Get<FixedU128> for NextFeeMultiplierOnEmpty

source§

impl<_I> Get<_I> for BlockLengthwhere _I: From<BlockLength>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for MinimumMultiplierwhere _I: From<FixedU128>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for TargetBlockFullnesswhere _I: From<Perquintill>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for AdjustmentVariablewhere _I: From<FixedU128>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for MaximumMultiplierwhere _I: From<FixedU128>,

source§

fn get() -> _I

source§

impl Get<FixedU128> for InitialFactor

source§

impl<T> Get<FixedU128> for SpotTrafficOnEmpty<T>where T: Config,

source§

impl<T> Get<VecDeque<Assignment, Global>> for OnDemandQueueOnEmpty<T>where T: Config,

source§

impl<Origin, Size, HeapSize> Get<u32> for MaxMessageLen<Origin, Size, HeapSize>where Origin: MaxEncodedLen, Size: MaxEncodedLen + Into<u32>, HeapSize: Get<Size>,

source§

impl<T> Get<u32> for MaxEncodedLenOf<T>where T: MaxEncodedLen,

source§

impl<T, O> Get<u32> for IntoU32<T, O>where T: Get<O>, O: Into<u32>,

source§

impl Get<FixedU128> for NextFeeMultiplierOnEmpty

source§

impl Get<u32> for DefaultForRound

source§

impl<_I> Get<_I> for SubscriptionRequestswhere _I: From<Vec<(MultiLocation, Option<(u64, Weight)>), Global>>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for TrappedAssetswhere _I: From<Vec<(MultiLocation, MultiAssets), Global>>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for MaxAssetsIntoHoldingwhere _I: From<u32>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for LockedAssetswhere _I: From<Vec<(MultiLocation, MultiAsset), Global>>,

source§

fn get() -> _I

source§

impl<T> Get<u32> for VersionDiscoveryQueueSize<T>where T: Config,

source§

impl<_I> Get<_I> for CurrentXcmVersionwhere _I: From<u32>,

source§

fn get() -> _I

source§

impl<T> Get<Id> for Pallet<T>where T: Config,

source§

fn get() -> Id

Implementors§

source§

impl<T> Get<<T as Config>::RuntimeOrigin> for RelayChainOrigin<T>where T: Config, <T as Config>::RuntimeOrigin: From<Origin>,

source§

impl<T> Get<Junctions> for UniversalLocation<T>where T: Config,

source§

impl<T> Get<MultiLocation> for SelfLocation<T>where T: Config,

source§

impl<T> Get<T> for GetDefaultwhere T: Default,

source§

impl<T: Config> Get<Vec<<T as Config>::AccountId, Global>> for FoundationAccountsProvider<T>

source§

impl<T: Config> Get<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for TreasuryAccountIdOf<T>

source§

impl<_I> Get<_I> for BlockHashCountwhere _I: From<u32>,

source§

impl<_I: From<&'static [u8]>> Get<_I> for SigantureNetworkIdentifier

source§

impl<_I: From<(AssetId, u128, u128)>> Get<_I> for KsmPerSecond

source§

impl<_I: From<(AssetId, u128, u128)>> Get<_I> for MgxPerSecond

source§

impl<_I: From<NetworkId>> Get<_I> for RelayNetwork

source§

impl<_I: From<Option<Balance>>> Get<_I> for ProposalBondMaximum

source§

impl<_I: From<bool>> Get<_I> for Initialized

source§

impl<_I: From<u8>> Get<_I> for DefaultBootstrapPromotedPoolWeight

source§

impl<_I: From<u8>> Get<_I> for OperationalFeeMultiplier

source§

impl<_I: From<u16>> Get<_I> for SS58Prefix

source§

impl<_I: From<u32>> Get<_I> for StringLimit

source§

impl<_I: From<u32>> Get<_I> for MaxLocks

source§

impl<_I: From<u32>> Get<_I> for MaxAuthorities

source§

impl<_I: From<u32>> Get<_I> for ClearStorageLimit

source§

impl<_I: From<u32>> Get<_I> for CouncilMaxMembers

source§

impl<_I: From<u32>> Get<_I> for CouncilMaxProposals

source§

impl<_I: From<u32>> Get<_I> for MaxInitContributorsBatchSizes

source§

impl<_I: From<u32>> Get<_I> for MaxCuratedTokens

source§

impl<_I: From<u32>> Get<_I> for MaxAdditionalFields

source§

impl<_I: From<u32>> Get<_I> for MaxRegistrars

source§

impl<_I: From<u32>> Get<_I> for MaxSubAccounts

source§

impl<_I: From<u32>> Get<_I> for HistoryLimit

source§

impl<_I: From<u32>> Get<_I> for LinearIssuanceBlocks

source§

impl<_I: From<u32>> Get<_I> for TGEReleaseBegin

source§

impl<_I: From<u32>> Get<_I> for TGEReleasePeriod

source§

impl<_I: From<u32>> Get<_I> for RewardsSchedulesLimit

source§

impl<_I: From<u32>> Get<_I> for SchedulesPerBlock

source§

impl<_I: From<u32>> Get<_I> for MaxApprovals

source§

impl<_I: From<u32>> Get<_I> for BlocksPerRound

source§

impl<_I: From<u32>> Get<_I> for CandidateBondDelay

source§

impl<_I: From<u32>> Get<_I> for DefaultPayoutLimit

source§

impl<_I: From<u32>> Get<_I> for DelegationBondDelay

source§

impl<_I: From<u32>> Get<_I> for LeaveCandidatesDelay

source§

impl<_I: From<u32>> Get<_I> for LeaveDelegatorsDelay

source§

impl<_I: From<u32>> Get<_I> for MaxCollatorCandidates

source§

impl<_I: From<u32>> Get<_I> for MaxDelegationsPerDelegator

source§

impl<_I: From<u32>> Get<_I> for MaxDelegatorsPerCandidate

source§

impl<_I: From<u32>> Get<_I> for MaxTotalDelegatorsPerCandidate

source§

impl<_I: From<u32>> Get<_I> for MinSelectedCandidates

source§

impl<_I: From<u32>> Get<_I> for RevokeDelegationDelay

source§

impl<_I: From<u32>> Get<_I> for RewardPaymentDelay

source§

impl<_I: From<u32>> Get<_I> for common_runtime::xcm_config::MaxAssetsIntoHolding

source§

impl<_I: From<u32>> Get<_I> for MaxInstructions

source§

impl<_I: From<u64>> Get<_I> for MinimumPeriod

source§

impl<_I: From<u128>> Get<_I> for Min3rdPartyRewardValutationPerSession

source§

impl<_I: From<u128>> Get<_I> for Min3rdPartyRewardVolume

source§

impl<_I: From<u128>> Get<_I> for MinCandidateStk

source§

impl<_I: From<u128>> Get<_I> for MinCollatorStk

source§

impl<_I: From<u128>> Get<_I> for MinDelegatorStk

source§

impl<_I: From<usize>> Get<_I> for MaxAssetsForTransfer

source§

impl<_I: From<PalletId>> Get<_I> for LiquidityMiningIssuanceVaultId

source§

impl<_I: From<PalletId>> Get<_I> for StakingIssuanceVaultId

source§

impl<_I: From<PalletId>> Get<_I> for TreasuryPalletId

source§

impl<_I: From<WithdrawReasons>> Get<_I> for UnvestedFundsAllowedWithdrawReasons

source§

impl<_I: From<BlockLength>> Get<_I> for RuntimeBlockLength

source§

impl<_I: From<BlockWeights>> Get<_I> for RuntimeBlockWeights

source§

impl<_I: From<MultiLocation>> Get<_I> for KsmLocation

source§

impl<_I: From<Perbill>> Get<_I> for InitializationPayment

source§

impl<_I: From<Perbill>> Get<_I> for RelaySignaturesThreshold

source§

impl<_I: From<Perbill>> Get<_I> for LiquidityMiningSplit

source§

impl<_I: From<Perbill>> Get<_I> for StakingSplit

source§

impl<_I: From<Perbill>> Get<_I> for DefaultCollatorCommission

source§

impl<_I: From<Percent>> Get<_I> for ImmediateTGEReleasePercent

source§

impl<_I: From<Permill>> Get<_I> for Burn

source§

impl<_I: From<Permill>> Get<_I> for ProposalBond

source§

impl<_I: From<Weight>> Get<_I> for ReservedDmpWeight

source§

impl<_I: From<Weight>> Get<_I> for ReservedXcmpWeight

source§

impl<_I: From<Weight>> Get<_I> for MaxProposalWeight

source§

impl<_I: From<XcmWeight>> Get<_I> for BaseXcmWeight

source§

impl<_I: From<XcmWeight>> Get<_I> for UnitWeightCost

source§

impl<_I: From<Multiplier>> Get<_I> for ConstFeeMultiplierValue

source§

impl<_I: From<AccountId>> Get<_I> for LiquidityMiningIssuanceVault

source§

impl<_I: From<AccountId>> Get<_I> for StakingIssuanceVault

source§

impl<_I: From<Balance>> Get<_I> for MinimumReward

source§

impl<_I: From<Balance>> Get<_I> for BasicDeposit

source§

impl<_I: From<Balance>> Get<_I> for FieldDeposit

source§

impl<_I: From<Balance>> Get<_I> for SubAccountDeposit

source§

impl<_I: From<Balance>> Get<_I> for IssuanceCap

source§

impl<_I: From<Balance>> Get<_I> for TotalCrowdloanAllocation

source§

impl<_I: From<Balance>> Get<_I> for AnnouncementDepositBase

source§

impl<_I: From<Balance>> Get<_I> for AnnouncementDepositFactor

source§

impl<_I: From<Balance>> Get<_I> for ProxyDepositBase

source§

impl<_I: From<Balance>> Get<_I> for ProxyDepositFactor

source§

impl<_I: From<Balance>> Get<_I> for TransactionByteFee

source§

impl<_I: From<Balance>> Get<_I> for ProposalBondMinimum

source§

impl<_I: From<Balance>> Get<_I> for MinVestedTransfer

source§

impl<_I: From<BlockNumber>> Get<_I> for BootstrapUpdateBuffer

source§

impl<_I: From<BlockNumber>> Get<_I> for CouncilMotionDuration

source§

impl<_I: From<BlockNumber>> Get<_I> for CouncilProposalCloseDelay

source§

impl<_I: From<BlockNumber>> Get<_I> for SpendPeriod

source§

impl<_I: From<TokenId>> Get<_I> for MgxTokenId

source§

impl<_I: From<TokenId>> Get<_I> for RelayTokenId

source§

impl<_I: From<TokenId>> Get<_I> for TurTokenId

source§

impl<_I: From<[u8; 4]>> Get<_I> for BnbTreasurySubAccDerive

source§

impl<const T: bool> Get<Option<bool>> for ConstBool<T>

source§

impl<const T: bool> Get<bool> for ConstBool<T>

source§

impl<const T: i8> Get<Option<i8>> for ConstI8<T>

source§

impl<const T: i8> Get<i8> for ConstI8<T>

source§

impl<const T: i16> Get<Option<i16>> for ConstI16<T>

source§

impl<const T: i16> Get<i16> for ConstI16<T>

source§

impl<const T: i32> Get<Option<i32>> for ConstI32<T>

source§

impl<const T: i32> Get<i32> for ConstI32<T>

source§

impl<const T: i64> Get<Option<i64>> for ConstI64<T>

source§

impl<const T: i64> Get<i64> for ConstI64<T>

source§

impl<const T: i128> Get<Option<i128>> for ConstI128<T>

source§

impl<const T: i128> Get<i128> for ConstI128<T>

source§

impl<const T: u8> Get<Option<u8>> for ConstU8<T>

source§

impl<const T: u8> Get<u8> for ConstU8<T>

source§

impl<const T: u16> Get<Option<u16>> for ConstU16<T>

source§

impl<const T: u16> Get<u16> for ConstU16<T>

source§

impl<const T: u32> Get<Option<u32>> for ConstU32<T>

source§

impl<const T: u32> Get<u32> for ConstU32<T>

source§

impl<const T: u64> Get<Option<u64>> for ConstU64<T>

source§

impl<const T: u64> Get<u64> for ConstU64<T>

source§

impl<const T: u128> Get<Option<u128>> for ConstU128<T>

source§

impl<const T: u128> Get<u128> for ConstU128<T>