pub struct EpochValidator {
pub validator_set: Option<ValidatorSet>,
}
Fields§
§validator_set: Option<ValidatorSet>
Trait Implementations§
Source§impl Debug for EpochValidator
impl Debug for EpochValidator
Source§impl<'de> Deserialize<'de> for EpochValidator
impl<'de> Deserialize<'de> for EpochValidator
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 EpochValidator
impl QueryFragment for EpochValidator
Source§type SchemaType = Epoch
type SchemaType = Epoch
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 EpochValidator
impl RefUnwindSafe for EpochValidator
impl Send for EpochValidator
impl Sync for EpochValidator
impl Unpin for EpochValidator
impl UnwindSafe for EpochValidator
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