pub struct ServiceStatusOutput {
pub command: Option<String>,
pub service: &'static str,
pub effective: Option<&'static str>,
pub ok: bool,
pub global: StatusBlock,
pub local: StatusBlock,
pub project: ProjectBlock,
}Expand description
Per-service envelope for zad service status --service <svc>.
Fields§
§command: Option<String>"service.status.<name>" for the per-service command; left
unset when the value is embedded in the aggregate output.
service: &'static str§effective: Option<&'static str>Which scope would be used at runtime (local wins over global).
ok: boolOverall health: true iff the effective scope pinged OK.
global: StatusBlock§local: StatusBlock§project: ProjectBlockTrait Implementations§
Source§impl Clone for ServiceStatusOutput
impl Clone for ServiceStatusOutput
Source§fn clone(&self) -> ServiceStatusOutput
fn clone(&self) -> ServiceStatusOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceStatusOutput
impl Debug for ServiceStatusOutput
Source§impl Serialize for ServiceStatusOutput
impl Serialize for ServiceStatusOutput
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 ServiceStatusOutput
impl RefUnwindSafe for ServiceStatusOutput
impl Send for ServiceStatusOutput
impl Sync for ServiceStatusOutput
impl Unpin for ServiceStatusOutput
impl UnsafeUnpin for ServiceStatusOutput
impl UnwindSafe for ServiceStatusOutput
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