pub struct ServiceStatus {Show 23 fields
pub archive: ArchiveStatus,
pub last_sync_error: Option<String>,
pub last_sync_error_at: Option<u64>,
pub last_retention_error: Option<String>,
pub last_retention_error_at: Option<u64>,
pub last_names_error: Option<String>,
pub last_names_error_at: Option<u64>,
pub last_dependency_error: Option<String>,
pub last_dependency_error_at: Option<u64>,
pub last_inventory_error: Option<String>,
pub last_inventory_error_at: Option<u64>,
pub last_discovery_error: Option<String>,
pub last_discovery_error_at: Option<u64>,
pub commit_sources: Vec<CommitSourceStatus>,
pub cache_limit_bytes: u64,
pub last_cache_error: Option<String>,
pub last_cache_error_at: Option<u64>,
pub last_cache_maintenance: Option<CacheReceipt>,
pub overlay: Option<OverlayStatus>,
pub chain_peers: u64,
pub retention_configured: bool,
pub record_sources_configured: u64,
pub capabilities: Vec<String>,
}Expand description
Operator-reported service state. Every last_*_error describes the latest
attempt of that worker; *_at is when it was recorded, in Unix seconds.
Fields§
§archive: ArchiveStatus§last_sync_error: Option<String>§last_sync_error_at: Option<u64>§last_retention_error: Option<String>§last_retention_error_at: Option<u64>§last_names_error: Option<String>§last_names_error_at: Option<u64>§last_dependency_error: Option<String>§last_dependency_error_at: Option<u64>§last_inventory_error: Option<String>§last_inventory_error_at: Option<u64>§last_discovery_error: Option<String>§last_discovery_error_at: Option<u64>§commit_sources: Vec<CommitSourceStatus>§cache_limit_bytes: u64§last_cache_error: Option<String>§last_cache_error_at: Option<u64>§last_cache_maintenance: Option<CacheReceipt>§overlay: Option<OverlayStatus>§chain_peers: u64Litecoin P2P peers the light client holds now; 0 when offline.
retention_configured: bool§record_sources_configured: u64§capabilities: Vec<String>Trait Implementations§
Source§impl Clone for ServiceStatus
impl Clone for ServiceStatus
Source§impl Debug for ServiceStatus
impl Debug for ServiceStatus
Source§impl<'de> Deserialize<'de> for ServiceStatus
impl<'de> Deserialize<'de> for ServiceStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ServiceStatus
impl RefUnwindSafe for ServiceStatus
impl Send for ServiceStatus
impl Sync for ServiceStatus
impl Unpin for ServiceStatus
impl UnsafeUnpin for ServiceStatus
impl UnwindSafe for ServiceStatus
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