Struct simperby_repository::raw::SemanticCommit
source · 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. The committer is always the same as the author.
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 copy 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<SemanticCommit> for SemanticCommit
impl PartialEq<SemanticCommit> for SemanticCommit
source§fn eq(&self, other: &SemanticCommit) -> bool
fn eq(&self, other: &SemanticCommit) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SemanticCommit
impl Serialize for SemanticCommit
impl Eq for SemanticCommit
impl StructuralEq for SemanticCommit
impl StructuralPartialEq for SemanticCommit
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.