pub struct CommitSpan {
pub before: Option<CommitHash>,
pub after: Option<CommitHash>,
}Expand description
Commit span represents a section of an event log.
There can be no before commit hash when applying the first
collection of events to an event log. If an empty collection
was passed the after commit hash will be None.
Fields§
§before: Option<CommitHash>Commit hash before changes were applied.
after: Option<CommitHash>Commit hash after changes were applied.
Trait Implementations§
Source§impl Clone for CommitSpan
impl Clone for CommitSpan
Source§fn clone(&self) -> CommitSpan
fn clone(&self) -> CommitSpan
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 CommitSpan
impl Debug for CommitSpan
Source§impl Default for CommitSpan
impl Default for CommitSpan
Source§fn default() -> CommitSpan
fn default() -> CommitSpan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommitSpan
impl<'de> Deserialize<'de> for CommitSpan
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
Source§impl PartialEq for CommitSpan
impl PartialEq for CommitSpan
Source§impl Serialize for CommitSpan
impl Serialize for CommitSpan
impl Eq for CommitSpan
impl StructuralPartialEq for CommitSpan
Auto Trait Implementations§
impl Freeze for CommitSpan
impl RefUnwindSafe for CommitSpan
impl Send for CommitSpan
impl Sync for CommitSpan
impl Unpin for CommitSpan
impl UnwindSafe for CommitSpan
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