pub struct ConfigReport {
pub scope: String,
pub configuration: Value,
pub note: Option<String>,
}Expand description
A service configuration document, on its way out or on its way in.
Fields§
§scope: StringWhat the document covers: a svc: name, or "all".
configuration: ValueThe configuration itself. Pass it back to
tailscale_serve_set_config unchanged and nothing changes.
note: Option<String>Anything the client said.
Trait Implementations§
Source§impl Debug for ConfigReport
impl Debug for ConfigReport
Source§impl JsonSchema for ConfigReport
impl JsonSchema for ConfigReport
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 ConfigReport
impl RefUnwindSafe for ConfigReport
impl Send for ConfigReport
impl Sync for ConfigReport
impl Unpin for ConfigReport
impl UnsafeUnpin for ConfigReport
impl UnwindSafe for ConfigReport
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