Enum ofdb_entities::rating::RatingContext
source · pub enum RatingContext {
Diversity,
Renewable,
Fairness,
Humanity,
Transparency,
Solidarity,
}
Variants§
Implementations§
source§impl RatingContext
impl RatingContext
pub const fn total_count() -> u8
Trait Implementations§
source§impl Clone for RatingContext
impl Clone for RatingContext
source§fn clone(&self) -> RatingContext
fn clone(&self) -> RatingContext
Returns a copy 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 RatingContext
impl Debug for RatingContext
source§impl Hash for RatingContext
impl Hash for RatingContext
source§impl PartialEq for RatingContext
impl PartialEq for RatingContext
source§fn 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 ==
.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§
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