pub struct Mailmap { /* private fields */ }
Expand description
Loads a mailmap from the string passed in.
The format is the same as used by git
; specifically:
Canonical Name <canonical email> Current Name <current email>
- This changes authors matching both name and email to the canonical forms.
Canonical Name <current email>
- This changes all entries with this email to new name, regardless of their current name.
Canonical Name <canonical email> <current email>
- This changes all entries with the current email to the canonical name and email.
<canonical email> <current email>
- This changes all entries with the current email to the canonical email.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mailmap
impl RefUnwindSafe for Mailmap
impl !Send for Mailmap
impl !Sync for Mailmap
impl Unpin for Mailmap
impl UnwindSafe for Mailmap
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