pub struct ServiceStatusSnapshot {
pub id: String,
pub plugin_id: String,
pub state: ServiceState,
pub pid: Option<u32>,
pub restart_count: u32,
pub last_error: Option<String>,
}Expand description
Point-in-time status of one service — what the plugin-list HTTP surface
(InstalledPluginView::service_status) and bamboo plugin status
commands read.
Fields§
§id: String§plugin_id: String§state: ServiceState§pid: Option<u32>§restart_count: u32§last_error: Option<String>Trait Implementations§
Source§impl Clone for ServiceStatusSnapshot
impl Clone for ServiceStatusSnapshot
Source§fn clone(&self) -> ServiceStatusSnapshot
fn clone(&self) -> ServiceStatusSnapshot
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 ServiceStatusSnapshot
impl Debug for ServiceStatusSnapshot
Auto Trait Implementations§
impl Freeze for ServiceStatusSnapshot
impl RefUnwindSafe for ServiceStatusSnapshot
impl Send for ServiceStatusSnapshot
impl Sync for ServiceStatusSnapshot
impl Unpin for ServiceStatusSnapshot
impl UnsafeUnpin for ServiceStatusSnapshot
impl UnwindSafe for ServiceStatusSnapshot
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