pub struct StepInfo {
pub name: String,
pub secs: u64,
pub failed: Option<String>,
}Expand description
A long step in the reply to who (01M48VDGTD40P8RBZMS0XB5M9N).
Fields§
§name: StringThe name of the step.
secs: u64The seconds since the step started, or since it failed.
failed: Option<String>The reason, when the step failed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StepInfo
impl<'de> Deserialize<'de> for StepInfo
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 StepInfo
impl JsonSchema for StepInfo
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 moreimpl Eq for StepInfo
impl StructuralPartialEq for StepInfo
Auto Trait Implementations§
impl Freeze for StepInfo
impl RefUnwindSafe for StepInfo
impl Send for StepInfo
impl Sync for StepInfo
impl Unpin for StepInfo
impl UnsafeUnpin for StepInfo
impl UnwindSafe for StepInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.