pub struct MailmapEntry {
pub canonical_name: Option<String>,
pub canonical_email: Option<String>,
pub match_name: Option<String>,
pub match_email: String,
}Expand description
Legacy line-shaped entry kept for API compatibility; prefer MailmapTable.
Fields§
§canonical_name: Option<String>Canonical name (None = keep original).
canonical_email: Option<String>Canonical email (None = keep original).
match_name: Option<String>Match on this name (None = any name with the email).
match_email: StringMatch on this email.
Trait Implementations§
Source§impl Clone for MailmapEntry
impl Clone for MailmapEntry
Source§fn clone(&self) -> MailmapEntry
fn clone(&self) -> MailmapEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MailmapEntry
impl RefUnwindSafe for MailmapEntry
impl Send for MailmapEntry
impl Sync for MailmapEntry
impl Unpin for MailmapEntry
impl UnsafeUnpin for MailmapEntry
impl UnwindSafe for MailmapEntry
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