pub struct Identity {
pub name: String,
pub email: String,
pub email_range: TextRange,
}Expand description
A parsed Name <email> identity from a Maintainer: or Uploaders: field,
with the byte range of the email address inside the source document.
Fields§
§name: StringThe name part (may be empty for bare-email entries).
email: StringThe email address (with no surrounding angle brackets).
email_range: TextRangeThe text range of the email inside the source document.
Trait Implementations§
impl Eq for Identity
impl StructuralPartialEq for Identity
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnsafeUnpin for Identity
impl UnwindSafe for Identity
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