pub enum ReviewRanking {
Excellent,
Good,
FilteredOut,
NA,
}
Variants§
Trait Implementations§
source§impl Clone for ReviewRanking
impl Clone for ReviewRanking
source§fn clone(&self) -> ReviewRanking
fn clone(&self) -> ReviewRanking
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 ReviewRanking
impl Debug for ReviewRanking
source§impl<'de> Deserialize<'de> for ReviewRanking
impl<'de> Deserialize<'de> for ReviewRanking
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<DB> FromSql<Integer, DB> for ReviewRankingwhere
DB: Backend,
i32: FromSql<Integer, DB>,
impl<DB> FromSql<Integer, DB> for ReviewRankingwhere DB: Backend, i32: FromSql<Integer, DB>,
source§impl<__ST, __DB> FromSqlRow<__ST, __DB> for ReviewRankingwhere
__DB: Backend,
Self: FromSql<__ST, __DB>,
impl<__ST, __DB> FromSqlRow<__ST, __DB> for ReviewRankingwhere __DB: Backend, Self: FromSql<__ST, __DB>,
source§fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
See the trait documentation.
§const FIELDS_NEEDED: usize = 1usize
const FIELDS_NEEDED: usize = 1usize
The number of fields that this type will consume. Must be equal to
the number of times you would call
row.take()
in build_from_row
source§impl PartialEq<ReviewRanking> for ReviewRanking
impl PartialEq<ReviewRanking> for ReviewRanking
source§fn eq(&self, other: &ReviewRanking) -> bool
fn eq(&self, other: &ReviewRanking) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<__ST, __DB> Queryable<__ST, __DB> for ReviewRankingwhere
__DB: Backend,
Self: FromSql<__ST, __DB>,
impl<__ST, __DB> Queryable<__ST, __DB> for ReviewRankingwhere __DB: Backend, Self: FromSql<__ST, __DB>,
source§impl Serialize for ReviewRanking
impl Serialize for ReviewRanking
impl Copy for ReviewRanking
impl Eq for ReviewRanking
impl StructuralEq for ReviewRanking
impl StructuralPartialEq for ReviewRanking
Auto Trait Implementations§
impl RefUnwindSafe for ReviewRanking
impl Send for ReviewRanking
impl Sync for ReviewRanking
impl Unpin for ReviewRanking
impl UnwindSafe for ReviewRanking
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.