[][src]Struct bollard::ClientVersion

pub struct ClientVersion {
    pub major_version: usize,
    pub minor_version: usize,
}

Advisory version stub to use for communicating with the Server. The docker server will error if a higher client version is used than is compatible with the server. Beware also, that the docker server will return stubs for a higher version than the version set when communicating.

See also negotiate_version, and the client_version argument when instantiating the Docker client instance.

Fields

major_version: usize

The major version number.

minor_version: usize

The minor version number.

Trait Implementations

impl Clone for ClientVersion[src]

impl Copy for ClientVersion[src]

impl Debug for ClientVersion[src]

impl Display for ClientVersion[src]

impl<'_> From<&'_ (AtomicUsize, AtomicUsize)> for ClientVersion[src]

impl PartialEq<ClientVersion> for ClientVersion[src]

impl PartialOrd<ClientVersion> for ClientVersion[src]

impl StructuralPartialEq for ClientVersion[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.