pub struct Aliases { /* private fields */ }Expand description
Who an engineer is, as every count and comparison of engineers sees them: a listed email reads
as its engineer’s name, any other email lowercased. Empty for no config or no engineers.
Implementations§
Source§impl Aliases
impl Aliases
pub fn new(engineers: &[Engineer]) -> Aliases
Sourcepub fn canon(&self, email: &str) -> String
pub fn canon(&self, email: &str) -> String
The canonical engineer for a raw git email: the listed name, else the email lowercased. Empty stays empty (unknown engineer).
Trait Implementations§
impl Eq for Aliases
impl StructuralPartialEq for Aliases
Auto Trait Implementations§
impl Freeze for Aliases
impl RefUnwindSafe for Aliases
impl Send for Aliases
impl Sync for Aliases
impl Unpin for Aliases
impl UnsafeUnpin for Aliases
impl UnwindSafe for Aliases
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.