[][src]Struct bollard_stubs::models::Commit

pub struct Commit {
    pub id: Option<String>,
    pub expected: Option<String>,
}

Commit holds the Git-commit (SHA1) that a binary was built from, as reported in the version-string of external tools, such as containerd, or runC.

Fields

id: Option<String>

Actual commit ID of external tool.

expected: Option<String>

Commit ID of external tool expected by dockerd as set at build time.

Trait Implementations

impl Clone for Commit[src]

impl Debug for Commit[src]

impl Default for Commit[src]

impl<'de> Deserialize<'de> for Commit[src]

impl PartialEq<Commit> for Commit[src]

impl Serialize for Commit[src]

impl StructuralPartialEq for Commit[src]

Auto Trait Implementations

impl RefUnwindSafe for Commit

impl Send for Commit

impl Sync for Commit

impl Unpin for Commit

impl UnwindSafe for Commit

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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, 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.