Enum ofdb_entities::rating::RatingContext
source · [−]pub enum RatingContext {
Diversity,
Renewable,
Fairness,
Humanity,
Transparency,
Solidarity,
}Variants
Diversity
Renewable
Fairness
Humanity
Transparency
Solidarity
Implementations
sourceimpl RatingContext
impl RatingContext
pub const fn total_count() -> u8
Trait Implementations
sourceimpl Clone for RatingContext
impl Clone for RatingContext
sourcefn clone(&self) -> RatingContext
fn clone(&self) -> RatingContext
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 RatingContext
impl Debug for RatingContext
sourceimpl Hash for RatingContext
impl Hash for RatingContext
sourceimpl PartialEq<RatingContext> for RatingContext
impl PartialEq<RatingContext> for RatingContext
sourcefn eq(&self, other: &RatingContext) -> bool
fn eq(&self, other: &RatingContext) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Copy for RatingContext
impl Eq for RatingContext
impl StructuralEq for RatingContext
impl StructuralPartialEq for RatingContext
Auto Trait Implementations
impl RefUnwindSafe for RatingContext
impl Send for RatingContext
impl Sync for RatingContext
impl Unpin for RatingContext
impl UnwindSafe for RatingContext
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