pub struct AuthorizationPassbackObservation {
pub presentation: CredentialPresentation,
pub zone: ObjectIdentifier,
pub violation: bool,
pub last_successful_entry: Option<Duration>,
}Expand description
An already established passback observation bound to this transaction/zone. This helper does not reconstruct a location history.
Fields§
§presentation: CredentialPresentationComplete original tuple to which the observation belongs.
zone: ObjectIdentifierThe local zone in which the observation was established.
violation: boolWhether a violation was established before applying timeout/exemption.
last_successful_entry: Option<Duration>Last successful entry of this credential into this zone, sharing the monotonic origin. This is not Last_Use_Time. Required to expire a violation under a nonzero timeout; a future entry is inconsistent.
Trait Implementations§
impl Copy for AuthorizationPassbackObservation
impl Eq for AuthorizationPassbackObservation
impl StructuralPartialEq for AuthorizationPassbackObservation
Auto Trait Implementations§
impl Freeze for AuthorizationPassbackObservation
impl RefUnwindSafe for AuthorizationPassbackObservation
impl Send for AuthorizationPassbackObservation
impl Sync for AuthorizationPassbackObservation
impl Unpin for AuthorizationPassbackObservation
impl UnsafeUnpin for AuthorizationPassbackObservation
impl UnwindSafe for AuthorizationPassbackObservation
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