pub struct ComposeContainerInfo {
pub id: String,
pub name: String,
pub service: String,
pub state: String,
pub health: Option<String>,
pub exit_code: Option<i32>,
pub publishers: Option<Vec<PortPublisher>>,
}
Expand description
Container information from compose ps
Fields§
§id: String
Container ID
name: String
Container name
service: String
Service name
state: String
Container state
health: Option<String>
Health status
exit_code: Option<i32>
Exit code
publishers: Option<Vec<PortPublisher>>
Published ports
Trait Implementations§
Source§impl Clone for ComposeContainerInfo
impl Clone for ComposeContainerInfo
Source§fn clone(&self) -> ComposeContainerInfo
fn clone(&self) -> ComposeContainerInfo
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 ComposeContainerInfo
impl Debug for ComposeContainerInfo
Source§impl<'de> Deserialize<'de> for ComposeContainerInfo
impl<'de> Deserialize<'de> for ComposeContainerInfo
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 ComposeContainerInfo
impl RefUnwindSafe for ComposeContainerInfo
impl Send for ComposeContainerInfo
impl Sync for ComposeContainerInfo
impl Unpin for ComposeContainerInfo
impl UnwindSafe for ComposeContainerInfo
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