pub struct OnboardStatusResponse {
pub needs_onboarding: bool,
pub reason: &'static str,
pub has_partial_state: bool,
pub missing: Vec<String>,
pub repair_items: Vec<OnboardRepairItem>,
}Fields§
§needs_onboarding: booltrue when no agent is dispatchable yet. The dashboard uses this
signal to redirect first-load visits from / to /onboard.
reason: &'static strShort machine-readable reason for the value of needs_onboarding,
for logs / debugging. Stable: fresh_install / incomplete_agent
/ has_dispatchable_agent.
has_partial_state: booltrue when the operator has started entering setup state even if no
agent can reply yet. The dashboard uses this to say “Continue
onboarding” instead of pretending the flow is fresh.
missing: Vec<String>Human-readable readiness failures. When onboarding cannot finish, the UI shows these directly so the operator knows exactly what is missing.
repair_items: Vec<OnboardRepairItem>Structured repair checklist for half-configured installs. Mirrors
missing but keeps stable codes and targets for UI routing.
Trait Implementations§
Source§impl Debug for OnboardStatusResponse
impl Debug for OnboardStatusResponse
Source§impl JsonSchema for OnboardStatusResponse
impl JsonSchema for OnboardStatusResponse
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 moreSource§impl Serialize for OnboardStatusResponse
impl Serialize for OnboardStatusResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for OnboardStatusResponse
impl RefUnwindSafe for OnboardStatusResponse
impl Send for OnboardStatusResponse
impl Sync for OnboardStatusResponse
impl Unpin for OnboardStatusResponse
impl UnsafeUnpin for OnboardStatusResponse
impl UnwindSafe for OnboardStatusResponse
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more