pub struct Ratings {
pub votes: Option<i32>,
pub value: Option<f64>,
}
Fields§
§votes: Option<i32>
§value: Option<f64>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ratings
impl<'de> Deserialize<'de> for Ratings
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
impl StructuralPartialEq for Ratings
Auto Trait Implementations§
impl Freeze for Ratings
impl RefUnwindSafe for Ratings
impl Send for Ratings
impl Sync for Ratings
impl Unpin for Ratings
impl UnwindSafe for Ratings
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