pub struct DockerSystemInfo {Show 16 fields
pub host: HostId,
pub topology_revision: TopologyRevision,
pub daemon_id: Option<String>,
pub name: Option<String>,
pub server_version: Option<String>,
pub operating_system: Option<String>,
pub architecture: Option<String>,
pub kernel_version: Option<String>,
pub storage_driver: Option<String>,
pub containers: u64,
pub containers_running: u64,
pub containers_paused: u64,
pub containers_stopped: u64,
pub images: u64,
pub cpus: u64,
pub memory_total_bytes: u64,
}Expand description
Neutral Docker daemon information.
Fields§
§host: HostIdTarget host.
topology_revision: TopologyRevisionExact topology revision.
daemon_id: Option<String>Docker daemon identity.
name: Option<String>Daemon name.
server_version: Option<String>Server version.
operating_system: Option<String>Operating-system description.
architecture: Option<String>Architecture.
kernel_version: Option<String>Kernel version.
storage_driver: Option<String>Storage driver.
containers: u64Total containers known to the daemon.
containers_running: u64Running containers.
containers_paused: u64Paused containers.
containers_stopped: u64Stopped containers.
images: u64Images known to the daemon.
cpus: u64Logical CPU count.
memory_total_bytes: u64Total host memory reported by Docker.
Trait Implementations§
Source§impl Clone for DockerSystemInfo
impl Clone for DockerSystemInfo
Source§fn clone(&self) -> DockerSystemInfo
fn clone(&self) -> DockerSystemInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DockerSystemInfo
impl Debug for DockerSystemInfo
Source§impl<'de> Deserialize<'de> for DockerSystemInfo
impl<'de> Deserialize<'de> for DockerSystemInfo
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 PartialEq for DockerSystemInfo
impl PartialEq for DockerSystemInfo
Source§fn eq(&self, other: &DockerSystemInfo) -> bool
fn eq(&self, other: &DockerSystemInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DockerSystemInfo
impl Serialize for DockerSystemInfo
impl Eq for DockerSystemInfo
impl StructuralPartialEq for DockerSystemInfo
Auto Trait Implementations§
impl Freeze for DockerSystemInfo
impl RefUnwindSafe for DockerSystemInfo
impl Send for DockerSystemInfo
impl Sync for DockerSystemInfo
impl Unpin for DockerSystemInfo
impl UnsafeUnpin for DockerSystemInfo
impl UnwindSafe for DockerSystemInfo
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.