pub struct ProjectStatus {
pub name: String,
pub status: String,
pub states: BTreeMap<String, u32>,
pub config_files: String,
}Expand description
One Compose project Docker knows of (a row of docker compose ls --all).
Fields§
§name: StringThe project name.
status: StringCompose’s status string as it prints it, e.g. exited(1), running(2).
states: BTreeMap<String, u32>The containers per state, parsed from status, e.g. running → 2.
config_files: StringThe compose files the project was started from, comma-separated as Compose lists them.
Implementations§
Source§impl ProjectStatus
impl ProjectStatus
Trait Implementations§
Source§impl Clone for ProjectStatus
impl Clone for ProjectStatus
Source§impl Debug for ProjectStatus
impl Debug for ProjectStatus
impl Eq for ProjectStatus
Source§impl PartialEq for ProjectStatus
impl PartialEq for ProjectStatus
Source§impl Serialize for ProjectStatus
impl Serialize for ProjectStatus
impl StructuralPartialEq for ProjectStatus
Auto Trait Implementations§
impl Forget for ProjectStatus
impl Freeze for ProjectStatus
impl RefUnwindSafe for ProjectStatus
impl Send for ProjectStatus
impl Sync for ProjectStatus
impl Unpin for ProjectStatus
impl UnsafeUnpin for ProjectStatus
impl UnwindSafe for ProjectStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.