pub struct AnimeRating {
pub votes: u32,
pub value: f32,
}Fields§
§votes: u32§value: f32Trait Implementations§
Source§impl Clone for AnimeRating
impl Clone for AnimeRating
Source§fn clone(&self) -> AnimeRating
fn clone(&self) -> AnimeRating
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 AnimeRating
impl Debug for AnimeRating
Source§impl<'de> Deserialize<'de> for AnimeRating
impl<'de> Deserialize<'de> for AnimeRating
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 AnimeRating
impl PartialEq for AnimeRating
Source§impl Serialize for AnimeRating
impl Serialize for AnimeRating
impl StructuralPartialEq for AnimeRating
Auto Trait Implementations§
impl Freeze for AnimeRating
impl RefUnwindSafe for AnimeRating
impl Send for AnimeRating
impl Sync for AnimeRating
impl Unpin for AnimeRating
impl UnwindSafe for AnimeRating
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