pub enum ImageState {
Pending,
Approved,
Rejected,
}Expand description
The approval state of an image.
Variants§
Trait Implementations§
Source§impl Clone for ImageState
impl Clone for ImageState
Source§fn clone(&self) -> ImageState
fn clone(&self) -> ImageState
Returns a duplicate 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 ImageState
impl Debug for ImageState
Source§impl<'de> Deserialize<'de> for ImageState
impl<'de> Deserialize<'de> for ImageState
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 Hash for ImageState
impl Hash for ImageState
Source§impl PartialEq for ImageState
impl PartialEq for ImageState
Source§impl Serialize for ImageState
impl Serialize for ImageState
impl Eq for ImageState
impl StructuralPartialEq for ImageState
Auto Trait Implementations§
impl Freeze for ImageState
impl RefUnwindSafe for ImageState
impl Send for ImageState
impl Sync for ImageState
impl Unpin for ImageState
impl UnwindSafe for ImageState
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