Struct bollard_stubs::models::Commit
source · pub struct Commit {
pub id: Option<String>,
pub expected: Option<String>,
}
Expand description
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§
source§impl<'de> Deserialize<'de> for Commit
impl<'de> Deserialize<'de> for Commit
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more