pub struct RawIdentity {
pub name: String,
pub email: String,
}Expand description
A raw (name, email) pair exactly as recorded in git history (post-.mailmap). Multiple
raw identities can be folded into one Author when they share a normalized email.
Fields§
§name: String§email: StringTrait Implementations§
Source§impl Clone for RawIdentity
impl Clone for RawIdentity
Source§fn clone(&self) -> RawIdentity
fn clone(&self) -> RawIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RawIdentity
impl Debug for RawIdentity
Source§impl<'de> Deserialize<'de> for RawIdentity
impl<'de> Deserialize<'de> for RawIdentity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RawIdentity
Source§impl Hash for RawIdentity
impl Hash for RawIdentity
Source§impl PartialEq for RawIdentity
impl PartialEq for RawIdentity
Source§impl Serialize for RawIdentity
impl Serialize for RawIdentity
impl StructuralPartialEq for RawIdentity
Auto Trait Implementations§
impl Freeze for RawIdentity
impl RefUnwindSafe for RawIdentity
impl Send for RawIdentity
impl Sync for RawIdentity
impl Unpin for RawIdentity
impl UnsafeUnpin for RawIdentity
impl UnwindSafe for RawIdentity
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