pub struct StateReport {
pub outcome: String,
pub printed: Option<String>,
}Expand description
What a lock change did, where there is no key to name: the subject is the lock itself, on the tailnet or on this node.
Fields§
§outcome: StringWhat is true now that was not true before.
printed: Option<String>Trait Implementations§
Source§impl Debug for StateReport
impl Debug for StateReport
Source§impl JsonSchema for StateReport
impl JsonSchema for StateReport
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 StateReport
impl RefUnwindSafe for StateReport
impl Send for StateReport
impl Sync for StateReport
impl Unpin for StateReport
impl UnsafeUnpin for StateReport
impl UnwindSafe for StateReport
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