pub struct BookSeries {
pub title: String,
pub number: f32,
}
Expand description
Represents series information for a book, including the series title and book’s position within the series.
Fields§
§title: String
The title of the series.
number: f32
The position of the book within the series, represented as a float to accommodate cases like “1.5”.
Implementations§
Trait Implementations§
Source§impl Debug for BookSeries
impl Debug for BookSeries
Source§impl PartialEq for BookSeries
impl PartialEq for BookSeries
impl StructuralPartialEq for BookSeries
Auto Trait Implementations§
impl Freeze for BookSeries
impl RefUnwindSafe for BookSeries
impl Send for BookSeries
impl Sync for BookSeries
impl Unpin for BookSeries
impl UnwindSafe for BookSeries
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