pub struct ServerSnapshotEntry {
pub model_id: i64,
pub model_name: String,
pub port: u16,
pub started_at: u64,
pub healthy: bool,
}Expand description
Entry in a server snapshot.
Fields§
§model_id: i64Model ID being served.
model_name: StringModel name.
port: u16Port the server is listening on.
started_at: u64Unix timestamp (seconds) when started.
healthy: boolWhether the server is healthy.
Trait Implementations§
Source§impl Clone for ServerSnapshotEntry
impl Clone for ServerSnapshotEntry
Source§fn clone(&self) -> ServerSnapshotEntry
fn clone(&self) -> ServerSnapshotEntry
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 ServerSnapshotEntry
impl Debug for ServerSnapshotEntry
Source§impl<'de> Deserialize<'de> for ServerSnapshotEntry
impl<'de> Deserialize<'de> for ServerSnapshotEntry
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 ServerSnapshotEntry
impl RefUnwindSafe for ServerSnapshotEntry
impl Send for ServerSnapshotEntry
impl Sync for ServerSnapshotEntry
impl Unpin for ServerSnapshotEntry
impl UnwindSafe for ServerSnapshotEntry
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