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: String
Client version string
api_version: String
API version
git_commit: String
Git commit
built: String
Build time
go_version: String
Go version used to build
os: String
Operating system
arch: String
Architecture
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