pub struct Author {
pub email: Option<String>,
pub name: String,
}Expand description
An author with a name and optional email address.
Fields§
§email: Option<String>Author’s email address, if provided.
name: StringAuthor’s display name.
Trait Implementations§
impl Eq for Author
impl StructuralPartialEq for Author
Auto Trait Implementations§
impl Freeze for Author
impl RefUnwindSafe for Author
impl Send for Author
impl Sync for Author
impl Unpin for Author
impl UnsafeUnpin for Author
impl UnwindSafe for Author
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