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 Clone for GenreWithMatch
impl Clone for GenreWithMatch
Source§fn clone(&self) -> GenreWithMatch
fn clone(&self) -> GenreWithMatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GenreWithMatch
impl Debug for GenreWithMatch
Source§impl<'de> Deserialize<'de> for GenreWithMatch
impl<'de> Deserialize<'de> for GenreWithMatch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GenreWithMatch
impl PartialEq for GenreWithMatch
Source§impl Serialize for GenreWithMatch
impl Serialize for GenreWithMatch
impl StructuralPartialEq for GenreWithMatch
Auto Trait Implementations§
impl Freeze for GenreWithMatch
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