pub struct HookTested {
pub name: String,
pub outcome: String,
pub detail: Option<String>,
pub duration_ms: u64,
}Expand description
How speccoder hooks test went.
Fields§
§name: StringThe hook.
outcome: Stringpassed or blocked (a gate), delivered or failed (an observer).
detail: Option<String>Why it blocked or failed, or what the receiver answered.
duration_ms: u64How long it took.
Trait Implementations§
Source§impl Clone for HookTested
impl Clone for HookTested
Source§impl Debug for HookTested
impl Debug for HookTested
Source§impl<'de> Deserialize<'de> for HookTested
impl<'de> Deserialize<'de> for HookTested
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 HookTested
Source§impl JsonSchema for HookTested
impl JsonSchema for HookTested
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 HookTested
impl PartialEq for HookTested
Source§impl Serialize for HookTested
impl Serialize for HookTested
impl StructuralPartialEq for HookTested
Auto Trait Implementations§
impl Forget for HookTested
impl Freeze for HookTested
impl RefUnwindSafe for HookTested
impl Send for HookTested
impl Sync for HookTested
impl Unpin for HookTested
impl UnsafeUnpin for HookTested
impl UnwindSafe for HookTested
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