pub struct LockReport {
pub outcome: String,
pub keys: Vec<String>,
pub printed: Option<String>,
}Expand description
What a lock change did to a named set of keys.
Fields§
§outcome: StringWhat is true now that was not true before.
keys: Vec<String>The tailnet-lock keys the call named, echoed so that the answer stands on its own. Public keys only; nothing secret is ever echoed here. Absent on a revocation continued from a blob, which names no keys.
printed: Option<String>Whatever the client printed, which for a multi-step revocation is the command to run next.
Trait Implementations§
Source§impl Debug for LockReport
impl Debug for LockReport
Source§impl JsonSchema for LockReport
impl JsonSchema for LockReport
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 LockReport
impl RefUnwindSafe for LockReport
impl Send for LockReport
impl Sync for LockReport
impl Unpin for LockReport
impl UnsafeUnpin for LockReport
impl UnwindSafe for LockReport
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