pub struct ContainerSummary {
pub id: String,
pub service: String,
pub replica: u32,
pub state: String,
pub pid: Option<u32>,
pub overlay_ip: Option<String>,
}Expand description
Container summary for API responses
Fields§
§id: StringContainer identifier (service-rep-N)
service: StringService name
replica: u32Replica number
state: StringContainer state
pid: Option<u32>Process ID (if running)
overlay_ip: Option<String>Overlay IP (if assigned)
Trait Implementations§
Source§impl ComposeSchema for ContainerSummary
impl ComposeSchema for ContainerSummary
Source§impl Debug for ContainerSummary
impl Debug for ContainerSummary
Source§impl<'de> Deserialize<'de> for ContainerSummary
impl<'de> Deserialize<'de> for ContainerSummary
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
Source§impl Serialize for ContainerSummary
impl Serialize for ContainerSummary
Auto Trait Implementations§
impl Freeze for ContainerSummary
impl RefUnwindSafe for ContainerSummary
impl Send for ContainerSummary
impl Sync for ContainerSummary
impl Unpin for ContainerSummary
impl UnsafeUnpin for ContainerSummary
impl UnwindSafe for ContainerSummary
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