pub struct ReflogUpdate {
pub identity: String,
pub message: String,
pub time: OffsetDateTime,
pub old_oid: Option<ObjectId>,
pub new_oid: Option<ObjectId>,
}Expand description
Metadata appended to a ref update for the reflog.
Fields§
§identity: StringAuthor/committer identity (name and email); timestamp is taken from Self::time.
message: StringReflog message (may be empty).
time: OffsetDateTimeTimestamp recorded in the reflog line.
old_oid: Option<ObjectId>When set, recorded as the reflog old OID instead of resolving from ref state.
new_oid: Option<ObjectId>When set, recorded as the reflog new OID instead of deriving from the update.
Trait Implementations§
Source§impl Clone for ReflogUpdate
impl Clone for ReflogUpdate
Source§impl Debug for ReflogUpdate
impl Debug for ReflogUpdate
impl Eq for ReflogUpdate
Source§impl PartialEq for ReflogUpdate
impl PartialEq for ReflogUpdate
impl StructuralPartialEq for ReflogUpdate
Auto Trait Implementations§
impl Freeze for ReflogUpdate
impl RefUnwindSafe for ReflogUpdate
impl Send for ReflogUpdate
impl Sync for ReflogUpdate
impl Unpin for ReflogUpdate
impl UnsafeUnpin for ReflogUpdate
impl UnwindSafe for ReflogUpdate
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§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.