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
sourceimpl BorshDeserialize for ReporterStatus
impl BorshDeserialize for ReporterStatus
sourceimpl BorshSerialize for ReporterStatus
impl BorshSerialize for ReporterStatus
sourceimpl Clone for ReporterStatus
impl Clone for ReporterStatus
sourcefn clone(&self) -> ReporterStatus
fn clone(&self) -> ReporterStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for ReporterStatus
impl Default for ReporterStatus
sourceimpl PartialEq<ReporterStatus> for ReporterStatus
impl PartialEq<ReporterStatus> for ReporterStatus
impl StructuralPartialEq for ReporterStatus
Auto Trait Implementations
impl RefUnwindSafe for ReporterStatus
impl Send for ReporterStatus
impl Sync for ReporterStatus
impl Unpin for ReporterStatus
impl UnwindSafe for ReporterStatus
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more