pub struct LogEntry {
pub id: CommitId,
pub time: SystemTime,
pub author_name: String,
pub author_email: String,
pub summary: String,
pub trailers: Trailers,
}Expand description
One store commit.
Fields§
§id: CommitId§time: SystemTimeCommit time.
summary: StringThe first line of the message.
trailers: TrailersImplementations§
Source§impl LogEntry
impl LogEntry
Sourcepub fn time_rfc3339(&self) -> String
pub fn time_rfc3339(&self) -> String
Self::time as RFC 3339 in UTC (2026-01-01T00:00:00Z).
Trait Implementations§
impl Eq for LogEntry
impl StructuralPartialEq for LogEntry
Auto Trait Implementations§
impl Forget for LogEntry
impl Freeze for LogEntrywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<(String, String)>: Freeze,
impl Move for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntrywhere
RawVecInner: Send,
impl Sync for LogEntrywhere
RawVecInner: Sync,
impl Unpin for LogEntry
impl UnsafeUnpin for LogEntrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
impl UnwindSafe for LogEntrywhere
RawVecInner: UnwindSafe,
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.