pub struct ActiveValidatorsQuery {
pub epoch: Option<EpochValidator>,
}
Fields§
§epoch: Option<EpochValidator>
Trait Implementations§
Source§impl Debug for ActiveValidatorsQuery
impl Debug for ActiveValidatorsQuery
Source§impl<'de> Deserialize<'de> for ActiveValidatorsQuery
impl<'de> Deserialize<'de> for ActiveValidatorsQuery
Source§fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl QueryFragment for ActiveValidatorsQuery
impl QueryFragment for ActiveValidatorsQuery
Source§type SchemaType = Query
type SchemaType = Query
The type in a schema that this
QueryFragment
representsSource§type VariablesFields = ActiveValidatorsArgsFields
type VariablesFields = ActiveValidatorsArgsFields
The variables that are required to execute this
QueryFragment
Auto Trait Implementations§
impl Freeze for ActiveValidatorsQuery
impl RefUnwindSafe for ActiveValidatorsQuery
impl Send for ActiveValidatorsQuery
impl Sync for ActiveValidatorsQuery
impl Unpin for ActiveValidatorsQuery
impl UnwindSafe for ActiveValidatorsQuery
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moreSource§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more