pub struct ServerLifecycleInfo {
pub server_id: String,
pub state: ServerState,
pub started_at: Option<Instant>,
pub stopped_at: Option<Instant>,
pub restart_count: u32,
pub last_error: Option<String>,
}Expand description
Server lifecycle information
Fields§
§server_id: String§state: ServerState§started_at: Option<Instant>§stopped_at: Option<Instant>§restart_count: u32§last_error: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ServerLifecycleInfo
impl Clone for ServerLifecycleInfo
Source§fn clone(&self) -> ServerLifecycleInfo
fn clone(&self) -> ServerLifecycleInfo
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 moreAuto Trait Implementations§
impl Freeze for ServerLifecycleInfo
impl RefUnwindSafe for ServerLifecycleInfo
impl Send for ServerLifecycleInfo
impl Sync for ServerLifecycleInfo
impl Unpin for ServerLifecycleInfo
impl UnwindSafe for ServerLifecycleInfo
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