pub enum Rating {
Danbooru(DanbooruRating),
Gelbooru(GelbooruRating),
Safebooru(SafebooruRating),
}Variants§
Trait Implementations§
source§impl From<DanbooruRating> for Rating
impl From<DanbooruRating> for Rating
source§fn from(value: DanbooruRating) -> Self
fn from(value: DanbooruRating) -> Self
Converts to this type from the input type.
source§impl From<GelbooruRating> for Rating
impl From<GelbooruRating> for Rating
source§fn from(value: GelbooruRating) -> Self
fn from(value: GelbooruRating) -> Self
Converts to this type from the input type.
source§impl From<SafebooruRating> for Rating
impl From<SafebooruRating> for Rating
source§fn from(value: SafebooruRating) -> Self
fn from(value: SafebooruRating) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Rating
impl Send for Rating
impl Sync for Rating
impl Unpin for Rating
impl UnwindSafe for Rating
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