pub struct CommitIdentity<'a> {
pub name: &'a str,
pub email: &'a str,
pub timestamp: u64,
pub timezone: &'a str,
}Expand description
One commit identity and its recorded time. The offset does not adjust seconds.
Fields§
§name: &'a str§email: &'a str§timestamp: u64Unix seconds in the range 0..=i64::MAX, serialized identically on all targets.
timezone: &'a strA sign and four ASCII digits: hours 00..23, minutes 00..59.
Trait Implementations§
Source§impl<'a> Clone for CommitIdentity<'a>
impl<'a> Clone for CommitIdentity<'a>
impl<'a> Copy for CommitIdentity<'a>
Source§impl<'a> Debug for CommitIdentity<'a>
impl<'a> Debug for CommitIdentity<'a>
Auto Trait Implementations§
impl<'a> Freeze for CommitIdentity<'a>
impl<'a> RefUnwindSafe for CommitIdentity<'a>
impl<'a> Send for CommitIdentity<'a>
impl<'a> Sync for CommitIdentity<'a>
impl<'a> Unpin for CommitIdentity<'a>
impl<'a> UnsafeUnpin for CommitIdentity<'a>
impl<'a> UnwindSafe for CommitIdentity<'a>
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