pub enum ModelRole {
FaceDetector,
FaceLandmarks,
FaceEmbedding,
FaceExpression,
HandLandmarks,
Age,
Nsfw,
}Expand description
Role a model plays in the full image-analysis pipeline.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModelRole
impl<'de> Deserialize<'de> for ModelRole
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
impl Copy for ModelRole
impl Eq for ModelRole
impl StructuralPartialEq for ModelRole
Auto Trait Implementations§
impl Freeze for ModelRole
impl RefUnwindSafe for ModelRole
impl Send for ModelRole
impl Sync for ModelRole
impl Unpin for ModelRole
impl UnsafeUnpin for ModelRole
impl UnwindSafe for ModelRole
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