Struct fb2::GenreWithMatch
source · pub struct GenreWithMatch {
pub match_percentage: i32,
pub value: Genre,
}Expand description
Genre of this book, with the optional match percentage
Fields§
§match_percentage: i32100 unless a different percentage is specified
value: GenreTrait Implementations§
source§impl Debug for GenreWithMatch
impl Debug for GenreWithMatch
source§impl PartialEq<GenreWithMatch> for GenreWithMatch
impl PartialEq<GenreWithMatch> for GenreWithMatch
source§fn eq(&self, other: &GenreWithMatch) -> bool
fn eq(&self, other: &GenreWithMatch) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GenreWithMatch
Auto Trait Implementations§
impl RefUnwindSafe for GenreWithMatch
impl Send for GenreWithMatch
impl Sync for GenreWithMatch
impl Unpin for GenreWithMatch
impl UnwindSafe for GenreWithMatch
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