pub enum Attribute {
Book(BookAttribute),
Movie(MovieAttribute),
Quote(QuoteAttribute),
Character(CharacterAttribute),
Chapter(ChapterAttribute),
}
Expand description
The different attributes that can be used to sort the different items that can be retrieved from the API. The contain all the attributes that are available for the different items.
Variants§
Book(BookAttribute)
Movie(MovieAttribute)
Quote(QuoteAttribute)
Character(CharacterAttribute)
Chapter(ChapterAttribute)
Trait Implementations§
source§impl PartialEq for Attribute
impl PartialEq for Attribute
impl Copy for Attribute
impl Eq for Attribute
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.