pub struct DockerInfo {
pub version: DockerVersion,
pub binary_path: String,
pub daemon_running: bool,
pub server_version: Option<DockerVersion>,
pub os: String,
pub architecture: String,
}
Expand description
Docker system information
Fields§
§version: DockerVersion
Docker version
binary_path: String
Docker binary path
daemon_running: bool
Whether Docker daemon is running
server_version: Option<DockerVersion>
Docker server version (if daemon is running)
os: String
Operating system
architecture: String
Architecture
Trait Implementations§
Source§impl Clone for DockerInfo
impl Clone for DockerInfo
Source§fn clone(&self) -> DockerInfo
fn clone(&self) -> DockerInfo
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 DockerInfo
impl Debug for DockerInfo
Source§impl<'de> Deserialize<'de> for DockerInfo
impl<'de> Deserialize<'de> for DockerInfo
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 DockerInfo
impl RefUnwindSafe for DockerInfo
impl Send for DockerInfo
impl Sync for DockerInfo
impl Unpin for DockerInfo
impl UnwindSafe for DockerInfo
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