pub struct AttributionEvent {
pub commit: GitHash,
pub role: Role,
pub name: String,
pub email: String,
pub timestamp: i64,
pub tz_offset_secs: i32,
}Expand description
One identity event on the attribution timeline.
Fields§
§commit: GitHashThe commit this identity is attached to.
role: RoleAuthor or committer.
name: StringIdentity name.
email: StringIdentity email.
timestamp: i64Event time (epoch seconds).
tz_offset_secs: i32Timezone offset of the recorded time, in seconds east of UTC.
Trait Implementations§
Source§impl Clone for AttributionEvent
impl Clone for AttributionEvent
Source§fn clone(&self) -> AttributionEvent
fn clone(&self) -> AttributionEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AttributionEvent
impl Debug for AttributionEvent
impl Eq for AttributionEvent
Source§impl PartialEq for AttributionEvent
impl PartialEq for AttributionEvent
Source§fn eq(&self, other: &AttributionEvent) -> bool
fn eq(&self, other: &AttributionEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttributionEvent
Auto Trait Implementations§
impl Freeze for AttributionEvent
impl RefUnwindSafe for AttributionEvent
impl Send for AttributionEvent
impl Sync for AttributionEvent
impl Unpin for AttributionEvent
impl UnsafeUnpin for AttributionEvent
impl UnwindSafe for AttributionEvent
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