pub struct ServerVersion {
pub version: String,
pub api_version: String,
pub min_api_version: String,
pub git_commit: String,
pub built: String,
pub go_version: String,
pub os: String,
pub arch: String,
pub kernel_version: String,
pub experimental: bool,
}
Expand description
Docker server version information
Fields§
§version: String
Server version string
api_version: String
API version
min_api_version: String
Minimum API version supported
git_commit: String
Git commit
built: String
Build time
go_version: String
Go version used to build
os: String
Operating system
arch: String
Architecture
kernel_version: String
Kernel version
experimental: bool
Experimental features enabled
Trait Implementations§
Source§impl Clone for ServerVersion
impl Clone for ServerVersion
Source§fn clone(&self) -> ServerVersion
fn clone(&self) -> ServerVersion
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 ServerVersion
impl Debug for ServerVersion
Source§impl PartialEq for ServerVersion
impl PartialEq for ServerVersion
impl StructuralPartialEq for ServerVersion
Auto Trait Implementations§
impl Freeze for ServerVersion
impl RefUnwindSafe for ServerVersion
impl Send for ServerVersion
impl Sync for ServerVersion
impl Unpin for ServerVersion
impl UnwindSafe for ServerVersion
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