Trait frame_support::pallet_prelude::Get
source · [−]pub trait Get<T> {
fn get() -> T;
}
Expand description
A trait for querying a single value from a type.
It is not required that the value is constant.
pub trait Get<T> {
fn get() -> T;
}
A trait for querying a single value from a type.
It is not required that the value is constant.