pub struct ReviewApproval {
pub sha256: String,
pub mode: RunMode,
pub by: String,
pub via: Via,
pub at: u64,
}Expand description
The record of an approval that froze the oracle (in review.json).
Fields§
§sha256: StringSHA-256 over the approved decision lines and the frozen oracle entries: what a tick that reused a frozen set names.
mode: RunModeThe run’s mode.
by: StringWho approved.
via: ViaThrough what.
at: u64Unix seconds.
Trait Implementations§
Source§impl Clone for ReviewApproval
impl Clone for ReviewApproval
Source§impl Debug for ReviewApproval
impl Debug for ReviewApproval
Source§impl<'de> Deserialize<'de> for ReviewApproval
impl<'de> Deserialize<'de> for ReviewApproval
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
impl Eq for ReviewApproval
Source§impl JsonSchema for ReviewApproval
impl JsonSchema for ReviewApproval
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ReviewApproval
impl PartialEq for ReviewApproval
Source§impl Serialize for ReviewApproval
impl Serialize for ReviewApproval
impl StructuralPartialEq for ReviewApproval
Auto Trait Implementations§
impl Freeze for ReviewApproval
impl RefUnwindSafe for ReviewApproval
impl Send for ReviewApproval
impl Sync for ReviewApproval
impl Unpin for ReviewApproval
impl UnsafeUnpin for ReviewApproval
impl UnwindSafe for ReviewApproval
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