pub enum OracleEvent {
Stage {
requirement: String,
stage: String,
n: u32,
of: u32,
},
Frozen {
unit: String,
requirement: String,
manifest_sha256: String,
approval_sha256: String,
visible_count: usize,
held_out_count: usize,
by: String,
via: String,
},
Lapsed {
unit: String,
requirement: String,
frozen_wording_sha256: String,
current_wording_sha256: String,
},
}Expand description
A step of the oracle at review.
Variants§
Stage
Writing tests went one stage further (progress).
Fields
Frozen
The approval froze a requirement’s tests (domain).
Fields
Lapsed
A frozen oracle lapsed with its requirement’s wording (domain).
Trait Implementations§
Source§impl Clone for OracleEvent
impl Clone for OracleEvent
Source§impl Debug for OracleEvent
impl Debug for OracleEvent
impl Eq for OracleEvent
Source§impl PartialEq for OracleEvent
impl PartialEq for OracleEvent
Source§impl Serialize for OracleEvent
impl Serialize for OracleEvent
impl StructuralPartialEq for OracleEvent
Auto Trait Implementations§
impl Forget for OracleEvent
impl Freeze for OracleEvent
impl RefUnwindSafe for OracleEvent
impl Send for OracleEvent
impl Sync for OracleEvent
impl Unpin for OracleEvent
impl UnsafeUnpin for OracleEvent
impl UnwindSafe for OracleEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 moreSource§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.
Creates a shared type from an unshared type.