pub enum BiometricSubFormat {
Image(ImageSubFormat),
Template(TemplateSubFormat),
Sound(SoundSubFormat),
Raw(i64),
}Expand description
Biometric sub-format (unified across format types)
Variants§
Implementations§
Source§impl BiometricSubFormat
impl BiometricSubFormat
pub fn from_format_and_value(format: BiometricFormat, value: i64) -> Self
pub fn to_value(&self) -> i64
Trait Implementations§
Source§impl Clone for BiometricSubFormat
impl Clone for BiometricSubFormat
Source§fn clone(&self) -> BiometricSubFormat
fn clone(&self) -> BiometricSubFormat
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 BiometricSubFormat
impl Debug for BiometricSubFormat
Source§impl<'de> Deserialize<'de> for BiometricSubFormat
impl<'de> Deserialize<'de> for BiometricSubFormat
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 PartialEq for BiometricSubFormat
impl PartialEq for BiometricSubFormat
Source§impl Serialize for BiometricSubFormat
impl Serialize for BiometricSubFormat
impl Copy for BiometricSubFormat
impl Eq for BiometricSubFormat
impl StructuralPartialEq for BiometricSubFormat
Auto Trait Implementations§
impl Freeze for BiometricSubFormat
impl RefUnwindSafe for BiometricSubFormat
impl Send for BiometricSubFormat
impl Sync for BiometricSubFormat
impl Unpin for BiometricSubFormat
impl UnwindSafe for BiometricSubFormat
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