pub struct SourceStatus {
pub name: String,
pub configured: bool,
pub healthy: bool,
pub notes: Option<String>,
}Expand description
Health and configuration status of a single connector.
This struct matches the context.sources response shape defined in
docs/SCHEMAS.md. It is serialized as JSON by the HTTP server.
Fields§
§name: StringThe connector name (e.g., "filesystem", "git", "s3").
configured: boolWhether the connector has a [connectors.<name>] section in the config.
healthy: boolWhether the connector passes its health check.
notes: Option<String>Optional diagnostic notes (e.g., "root directory does not exist", "repo: https://…").
Trait Implementations§
Source§impl Clone for SourceStatus
impl Clone for SourceStatus
Source§fn clone(&self) -> SourceStatus
fn clone(&self) -> SourceStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SourceStatus
impl Debug for SourceStatus
Auto Trait Implementations§
impl Freeze for SourceStatus
impl RefUnwindSafe for SourceStatus
impl Send for SourceStatus
impl Sync for SourceStatus
impl Unpin for SourceStatus
impl UnwindSafe for SourceStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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