pub struct History {
pub author: Option<String>,
pub comment: Option<String>,
pub created: Option<DateTime<Utc>>,
pub created_by: Option<String>,
pub empty_layer: Option<bool>,
}
Fields§
Author is the author of the build point.
comment: Option<String>
Comment is a custom message set when creating the layer.
created: Option<DateTime<Utc>>
Created is the combined date and time at which the layer was created, formatted as defined by RFC 3339, section 5.6.
created_by: Option<String>
CreatedBy is the command which created the layer.
empty_layer: Option<bool>
EmptyLayer is used to mark if the history item created a filesystem diff.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for History
impl<'de> Deserialize<'de> for History
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<History, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<History, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for History
impl Serialize for History
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for History
Auto Trait Implementations§
impl Freeze for History
impl RefUnwindSafe for History
impl Send for History
impl Sync for History
impl Unpin for History
impl UnwindSafe for History
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