pub struct BookContributor {
pub name: String,
pub role: String,
}
Expand description
Represents an individual who contributed to the book, such as an author or editor.
Fields§
§name: String
The name of the contributor.
role: String
The role of the contributor, such as “Author” or “Illustrator”.
Implementations§
Trait Implementations§
Source§impl Debug for BookContributor
impl Debug for BookContributor
Source§impl PartialEq for BookContributor
impl PartialEq for BookContributor
impl StructuralPartialEq for BookContributor
Auto Trait Implementations§
impl Freeze for BookContributor
impl RefUnwindSafe for BookContributor
impl Send for BookContributor
impl Sync for BookContributor
impl Unpin for BookContributor
impl UnwindSafe for BookContributor
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