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<_I> Get<_I> for UnitWeightCostwhere _I: From<Weight>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for ProxyDepositFactorwhere _I: From<u128>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for SS58Prefixwhere _I: From<u16>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for SubAccountDepositwhere _I: From<u128>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for AnnouncementDepositBasewhere _I: From<u128>,

source§

fn get() -> _I

source§

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

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for StakingIssuanceVaultwhere _I: From<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for LiquidityMiningIssuanceVaultwhere _I: From<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for TransactionByteFeewhere _I: From<u128>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for IssuanceCapwhere _I: From<u128>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for DefaultBootstrapPromotedPoolWeightwhere _I: From<u8>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for BaseXcmWeightwhere _I: From<Weight>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for MaxProposalWeightwhere _I: From<Weight>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for StakingSplitwhere _I: From<Perbill>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

impl<_I> Get<_I> for MaxAssetsForTransferwhere _I: From<usize>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<T> Get<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for TreasuryAccountIdOf<T>where T: Config<()>,

source§

impl<_I> Get<_I> for ImmediateTGEReleasePercentwhere _I: From<Percent>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for FieldDepositwhere _I: From<u128>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for AnnouncementDepositFactorwhere _I: From<u128>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for TreasuryPalletIdwhere _I: From<PalletId>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for MinimumPeriodwhere _I: From<u64>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for TotalCrowdloanAllocationwhere _I: From<u128>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for ProposalBondwhere _I: From<Permill>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for OperationalFeeMultiplierwhere _I: From<u8>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for ReservedDmpWeightwhere _I: From<Weight>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for LiquidityMiningSplitwhere _I: From<Perbill>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for Min3rdPartyRewardValutationPerSessionwhere _I: From<u128>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for ProxyDepositBasewhere _I: From<u128>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for RelayNetworkwhere _I: From<NetworkId>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for BasicDepositwhere _I: From<u128>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for ProposalBondMinimumwhere _I: From<u128>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for ProposalBondMaximumwhere _I: From<Option<u128>>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for StakingIssuanceVaultIdwhere _I: From<PalletId>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for LiquidityMiningIssuanceVaultIdwhere _I: From<PalletId>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for RelaySignaturesThresholdwhere _I: From<Perbill>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for Initializedwhere _I: From<bool>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

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

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for DefaultCollatorCommissionwhere _I: From<Perbill>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for MinDelegatorStkwhere _I: From<u128>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for MinCandidateStkwhere _I: From<u128>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for RuntimeBlockWeightswhere _I: From<BlockWeights>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

source§

impl<_I> Get<_I> for Min3rdPartyRewardVolumewhere _I: From<u128>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for MinCollatorStkwhere _I: From<u128>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for MinVestedTransferwhere _I: From<u128>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for KsmLocationwhere _I: From<MultiLocation>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for InitializationPaymentwhere _I: From<Perbill>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for Burnwhere _I: From<Permill>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for UnvestedFundsAllowedWithdrawReasonswhere _I: From<WithdrawReasons>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for MinimumRewardwhere _I: From<u128>,

source§

fn get() -> _I

source§

impl<_I> Get<_I> for ReservedXcmpWeightwhere _I: From<Weight>,

source§

fn get() -> _I

source§

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

source§

fn get() -> _I

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

source§

impl<T> Get<<T as Config>::Moment> for MinimumPeriodTimesTwo<T>where T: Config,

source§

fn get() -> <T as Config>::Moment

source§

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

Implementors§

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<_I: From<RuntimeVersion>> Get<_I> for Version

source§

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

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>