pub struct HooksReport {
pub hooks: Vec<HookEntry>,
pub problem: Option<String>,
pub trusted: Vec<String>,
pub tested: Option<HookTested>,
pub delivered: Option<u32>,
pub pending: Option<u32>,
}Expand description
speccoder hooks: every hook, and what a trust, test or deliver
just did.
Fields§
§hooks: Vec<HookEntry>Every hook, by name.
problem: Option<String>Why the hooks could not be read (HOOK-MISCONFIGURED).
trusted: Vec<String>The hooks just trusted.
tested: Option<HookTested>A test just run.
delivered: Option<u32>Events just delivered, per observer.
pending: Option<u32>Events still waiting for an observer that failed.
Trait Implementations§
Source§impl Clone for HooksReport
impl Clone for HooksReport
Source§impl Debug for HooksReport
impl Debug for HooksReport
Source§impl<'de> Deserialize<'de> for HooksReport
impl<'de> Deserialize<'de> for HooksReport
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 JsonSchema for HooksReport
impl JsonSchema for HooksReport
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 HooksReport
impl PartialEq for HooksReport
Source§impl Serialize for HooksReport
impl Serialize for HooksReport
impl StructuralPartialEq for HooksReport
Auto Trait Implementations§
impl Forget for HooksReport
impl Freeze for HooksReport
impl RefUnwindSafe for HooksReport
impl Send for HooksReport
impl Sync for HooksReport
impl Unpin for HooksReport
impl UnsafeUnpin for HooksReport
impl UnwindSafe for HooksReport
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