pub struct Person {
pub identity: Vec<u8>,
pub timestamp: i64,
pub timezone: Option<Vec<u8>>,
}Expand description
A parsed git person line (author / committer / tagger).
Fields§
§identity: Vec<u8>The SPEC-GIT-IMPORT §3.2 identity payload: a verbatim byte
slice of the line — through the closing > of the LAST
<...> group, or the bracket-less rule.
timestamp: i64Epoch seconds. i64 because git timestamps are signed —
negative values are the import driver’s refusal, not ours.
timezone: Option<Vec<u8>>Timezone suffix as written (e.g. +0200), when present.
Trait Implementations§
impl Eq for Person
impl StructuralPartialEq for Person
Auto Trait Implementations§
impl Freeze for Person
impl RefUnwindSafe for Person
impl Send for Person
impl Sync for Person
impl Unpin for Person
impl UnsafeUnpin for Person
impl UnwindSafe for Person
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