pub enum ReporterStatus {
Inactive,
Active,
Unstaking,
}
Variants§
Inactive
Reporter is not active, but can activate after staking
Active
Reporter is active and can report
Unstaking
Reporter has requested unstaking and can’t report
Trait Implementations§
Source§impl BorshDeserialize for ReporterStatus
impl BorshDeserialize for ReporterStatus
Source§impl BorshSerialize for ReporterStatus
impl BorshSerialize for ReporterStatus
Source§impl Clone for ReporterStatus
impl Clone for ReporterStatus
Source§fn clone(&self) -> ReporterStatus
fn clone(&self) -> ReporterStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ReporterStatus
impl Default for ReporterStatus
Source§impl PartialEq for ReporterStatus
impl PartialEq for ReporterStatus
impl StructuralPartialEq for ReporterStatus
Auto Trait Implementations§
impl Freeze for ReporterStatus
impl RefUnwindSafe for ReporterStatus
impl Send for ReporterStatus
impl Sync for ReporterStatus
impl Unpin for ReporterStatus
impl UnwindSafe for ReporterStatus
Blanket Implementations§
Source§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more