Struct ofdb_entities::rating::AvgRatingValue
source · [−]pub struct AvgRatingValue(_);Implementations
Trait Implementations
sourceimpl Add<AvgRatingValue> for AvgRatingValue
impl Add<AvgRatingValue> for AvgRatingValue
type Output = AvgRatingValue
type Output = AvgRatingValue
The resulting type after applying the + operator.
sourceimpl AddAssign<AvgRatingValue> for AvgRatingValue
impl AddAssign<AvgRatingValue> for AvgRatingValue
sourcefn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the += operation. Read more
sourceimpl Clone for AvgRatingValue
impl Clone for AvgRatingValue
sourcefn clone(&self) -> AvgRatingValue
fn clone(&self) -> AvgRatingValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AvgRatingValue
impl Debug for AvgRatingValue
sourceimpl Default for AvgRatingValue
impl Default for AvgRatingValue
sourcefn default() -> AvgRatingValue
fn default() -> AvgRatingValue
Returns the “default value” for a type. Read more
sourceimpl Div<f64> for AvgRatingValue
impl Div<f64> for AvgRatingValue
sourceimpl DivAssign<f64> for AvgRatingValue
impl DivAssign<f64> for AvgRatingValue
sourcefn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
Performs the /= operation. Read more
sourceimpl From<AvgRatingValue> for f64
impl From<AvgRatingValue> for f64
sourcefn from(from: AvgRatingValue) -> Self
fn from(from: AvgRatingValue) -> Self
Converts to this type from the input type.
sourceimpl From<RatingValue> for AvgRatingValue
impl From<RatingValue> for AvgRatingValue
sourcefn from(from: RatingValue) -> Self
fn from(from: RatingValue) -> Self
Converts to this type from the input type.
sourceimpl From<f64> for AvgRatingValue
impl From<f64> for AvgRatingValue
sourceimpl PartialEq<AvgRatingValue> for AvgRatingValue
impl PartialEq<AvgRatingValue> for AvgRatingValue
sourcefn eq(&self, other: &AvgRatingValue) -> bool
fn eq(&self, other: &AvgRatingValue) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl PartialOrd<AvgRatingValue> for AvgRatingValue
impl PartialOrd<AvgRatingValue> for AvgRatingValue
sourcefn partial_cmp(&self, other: &AvgRatingValue) -> Option<Ordering>
fn partial_cmp(&self, other: &AvgRatingValue) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for AvgRatingValue
impl StructuralPartialEq for AvgRatingValue
Auto Trait Implementations
impl RefUnwindSafe for AvgRatingValue
impl Send for AvgRatingValue
impl Sync for AvgRatingValue
impl Unpin for AvgRatingValue
impl UnwindSafe for AvgRatingValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more