pub struct SemanticCommit {
pub title: String,
pub body: String,
pub diff: Diff,
pub author: MemberName,
pub timestamp: Timestamp,
}Expand description
A commit with abstracted diff.
authoris a member name, not a git commit author.timestampis generated byget_timestamp()which represents up to milliseconds.
Fields§
§title: String§body: String§diff: Diff§timestamp: TimestampTrait Implementations§
Source§impl Clone for SemanticCommit
impl Clone for SemanticCommit
Source§fn clone(&self) -> SemanticCommit
fn clone(&self) -> SemanticCommit
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 SemanticCommit
impl Debug for SemanticCommit
Source§impl<'de> Deserialize<'de> for SemanticCommit
impl<'de> Deserialize<'de> for SemanticCommit
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 SemanticCommit
impl PartialEq for SemanticCommit
Source§impl Serialize for SemanticCommit
impl Serialize for SemanticCommit
impl Eq for SemanticCommit
impl StructuralPartialEq for SemanticCommit
Auto Trait Implementations§
impl Freeze for SemanticCommit
impl RefUnwindSafe for SemanticCommit
impl Send for SemanticCommit
impl Sync for SemanticCommit
impl Unpin for SemanticCommit
impl UnwindSafe for SemanticCommit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.