Struct ShownPin
#[non_exhaustive]pub struct ShownPin {
pub pin: Pin,
pub expires: SystemTime,
}Expand description
A PIN the desk shows, for the caller to display.
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.pin: PinThe PIN.
expires: SystemTimeWhen it stops being accepted.
Trait Implementations§
impl Eq for ShownPin
impl StructuralPartialEq for ShownPin
Auto Trait Implementations§
impl Freeze for ShownPin
impl RefUnwindSafe for ShownPin
impl Send for ShownPin
impl Sync for ShownPin
impl Unpin for ShownPin
impl UnsafeUnpin for ShownPin
impl UnwindSafe for ShownPin
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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