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§

fn get() -> T

Return the current value.

Implementations on Foreign Types§

§

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

§

fn get() -> u32

§

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

§

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

§

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,

§

fn get() -> u32

§

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

§

fn get() -> I

§

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

§

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

§

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

§

fn get() -> I

§

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,

§

fn get() -> u32

§

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

§

fn get() -> I

§

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

§

fn get() -> T

§

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

§

fn get() -> I

§

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

§

fn get() -> I

§

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

§

fn get() -> I

§

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

§

fn get() -> _I

§

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

§

fn get() -> _I

§

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

§

fn get() -> _I

§

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

§

fn get() -> _I

§

impl Get<FixedU128> for NextFeeMultiplierOnEmpty

§

impl<T> Get<H256> for IntermediateStateRoot<T>where T: Config,

§

fn get() -> H256

§

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

§

fn get() -> _I

§

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

§

fn get() -> u32

§

impl<T> Get<U256> for DefaultBaseFeePerGas<T>where T: Config,

§

fn get() -> U256

§

impl<T> Get<Permill> for DefaultElasticity<T>where T: Config,

§

fn get() -> Permill

§

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

§

fn get() -> Id

§

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

§

fn get() -> u64

§

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

§

fn get() -> _I

§

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

§

fn get() -> _I

§

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

§

fn get() -> _I

§

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

§

fn get() -> _I

§

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

§

fn get() -> _I

§

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

§

fn get() -> _I

§

impl Get<FixedU128> for InitialFactor

§

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

§

fn get() -> u32

§

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

§

fn get() -> u32

§

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

§

fn get() -> u32

§

impl Get<u32> for DefaultForRound

§

fn get() -> u32

Implementors§

source§

impl Get<u128> for TotalWrapped

source§

impl Get<Schedule<Runtime>> for DefaultSchedule

§

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

source§

impl<I: From<Weight>> Get<I> for kintsugi_runtime_parachain::weights::block_weights::BlockExecutionWeight

source§

impl<I: From<Weight>> Get<I> for kintsugi_runtime_parachain::weights::extrinsic_weights::ExtrinsicBaseWeight

§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<_I: From<CurrencyId>> Get<_I> for GetNativeCurrencyId

source§

impl<_I: From<CurrencyId>> Get<_I> for GetRelayChainCurrencyId

source§

impl<_I: From<CurrencyId>> Get<_I> for GetWrappedCurrencyId

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<_I: From<InterBtcPrecompiles<Runtime>>> Get<_I> for PrecompilesValue

source§

impl<_I: From<Vec<AccountId>>> Get<_I> for KintsugiLabsAccounts

source§

impl<_I: From<Permill>> Get<_I> for kintsugi_runtime_parachain::evm::DefaultElasticity

source§

impl<_I: From<RuntimeOrigin>> Get<_I> for RelayChainOrigin

source§

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

source§

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

source§

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

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 UnitWeightCost

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

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 BasicDeposit

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

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 SubAccountDeposit

source§

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

source§

impl<_I: From<BlockNumber>> Get<_I> for kintsugi_runtime_parachain::BlockHashCount

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<_I: From<UnsignedFixedPoint>> Get<_I> for MaxExpectedValue

source§

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

source§

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

source§

impl<_I: From<BodyId>> Get<_I> for ExecutiveBody

source§

impl<_I: From<InteriorMultiLocation>> Get<_I> for UniversalLocation

source§

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

source§

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

source§

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

source§

impl<_I: From<Multiplier>> Get<_I> for kintsugi_runtime_parachain::AdjustmentVariable

source§

impl<_I: From<Multiplier>> Get<_I> for kintsugi_runtime_parachain::MaximumMultiplier

source§

impl<_I: From<Multiplier>> Get<_I> for kintsugi_runtime_parachain::MinimumMultiplier

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<_I: From<Perquintill>> Get<_I> for kintsugi_runtime_parachain::TargetBlockFullness

source§

impl<_I: From<PostLogContent>> Get<_I> for PostBlockAndTxnHashes

source§

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

source§

impl<_I: From<U256>> Get<_I> for BlockGasLimit

source§

impl<_I: From<U256>> Get<_I> for kintsugi_runtime_parachain::evm::DefaultBaseFeePerGas

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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