pub struct KnobReport {
pub outcome: String,
pub printed: Option<String>,
}Expand description
What a knob did, which is never more than “the daemon was told”.
None of these commands reports a new state, and asking for one afterwards would be a second call with a different answer, so the report says what was asked for and hands back anything the client printed.
Fields§
§outcome: String§printed: Option<String>Trait Implementations§
Source§impl Debug for KnobReport
impl Debug for KnobReport
Source§impl JsonSchema for KnobReport
impl JsonSchema for KnobReport
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 moreAuto Trait Implementations§
impl Freeze for KnobReport
impl RefUnwindSafe for KnobReport
impl Send for KnobReport
impl Sync for KnobReport
impl Unpin for KnobReport
impl UnsafeUnpin for KnobReport
impl UnwindSafe for KnobReport
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