#[non_exhaustive]pub struct IdentifyOutcome {
pub match_index: Option<usize>,
pub scanned: Option<Print>,
}Expand description
Result of a 1:N Device::identify.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.match_index: Option<usize>Index into the gallery passed to identify, or None for no match.
scanned: Option<Print>The freshly scanned print, on the same terms as VerifyOutcome::scanned.
Implementations§
Trait Implementations§
Source§impl Clone for IdentifyOutcome
impl Clone for IdentifyOutcome
Source§impl Debug for IdentifyOutcome
impl Debug for IdentifyOutcome
impl Eq for IdentifyOutcome
Source§impl PartialEq for IdentifyOutcome
impl PartialEq for IdentifyOutcome
impl StructuralPartialEq for IdentifyOutcome
Auto Trait Implementations§
impl Freeze for IdentifyOutcome
impl RefUnwindSafe for IdentifyOutcome
impl Send for IdentifyOutcome
impl Sync for IdentifyOutcome
impl Unpin for IdentifyOutcome
impl UnsafeUnpin for IdentifyOutcome
impl UnwindSafe for IdentifyOutcome
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