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: StringServer version string
api_version: StringAPI version
min_api_version: StringMinimum API version supported
git_commit: StringGit commit
built: StringBuild time
go_version: StringGo version used to build
os: StringOperating system
arch: StringArchitecture
kernel_version: StringKernel version
experimental: boolExperimental 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