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