pub struct ClientVersion {
pub version: String,
pub api_version: String,
pub git_commit: String,
pub built: String,
pub go_version: String,
pub os: String,
pub arch: String,
}Expand description
Docker client version information
Fields§
§version: StringClient version string
api_version: StringAPI version
git_commit: StringGit commit
built: StringBuild time
go_version: StringGo version used to build
os: StringOperating system
arch: StringArchitecture
Trait Implementations§
Source§impl Clone for ClientVersion
impl Clone for ClientVersion
Source§fn clone(&self) -> ClientVersion
fn clone(&self) -> ClientVersion
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 ClientVersion
impl Debug for ClientVersion
Source§impl PartialEq for ClientVersion
impl PartialEq for ClientVersion
impl StructuralPartialEq for ClientVersion
Auto Trait Implementations§
impl Freeze for ClientVersion
impl RefUnwindSafe for ClientVersion
impl Send for ClientVersion
impl Sync for ClientVersion
impl Unpin for ClientVersion
impl UnwindSafe for ClientVersion
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