pub struct HandlerReport {
pub target: String,
pub endpoint: Option<String>,
pub path: Option<String>,
pub service: Option<String>,
pub public: bool,
pub url: Option<String>,
pub printed: Option<String>,
}Expand description
The answer to a call that added or removed a handler.
Fields§
§target: StringWhat is now being served, or "off" for a handler that was removed.
endpoint: Option<String>The endpoint as scheme:port, when the call named one. Absent when the
client’s own default applied.
path: Option<String>The path the handler was attached under, when it was not the root.
service: Option<String>The service this covers, when it was for a service rather than for this node.
public: boolWhether this is reachable from the public internet. false means the
tailnet and nothing outside it.
url: Option<String>The address the handler is reachable at, when the client printed one.
printed: Option<String>Everything the client printed, which for serve is a short report of
what it set up.
Trait Implementations§
Source§impl Debug for HandlerReport
impl Debug for HandlerReport
Source§impl JsonSchema for HandlerReport
impl JsonSchema for HandlerReport
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 HandlerReport
impl RefUnwindSafe for HandlerReport
impl Send for HandlerReport
impl Sync for HandlerReport
impl Unpin for HandlerReport
impl UnsafeUnpin for HandlerReport
impl UnwindSafe for HandlerReport
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