pub enum AuthorizationFact<T> {
Known(T),
Unknown,
}Expand description
A known application fact or an explicit lack of evidence. No default exists.
Variants§
Known(T)
The application supplies this value for a genuinely absent property.
Unknown
Required evidence is unavailable; this does not mean disabled or zero.
Trait Implementations§
Source§impl<T: Clone> Clone for AuthorizationFact<T>
impl<T: Clone> Clone for AuthorizationFact<T>
impl<T: Copy> Copy for AuthorizationFact<T>
Source§impl<T: Debug> Debug for AuthorizationFact<T>
impl<T: Debug> Debug for AuthorizationFact<T>
impl<T: Eq> Eq for AuthorizationFact<T>
Source§impl<T: PartialEq> PartialEq for AuthorizationFact<T>
impl<T: PartialEq> PartialEq for AuthorizationFact<T>
impl<T: PartialEq> StructuralPartialEq for AuthorizationFact<T>
Auto Trait Implementations§
impl<T> Freeze for AuthorizationFact<T>where
T: Freeze,
impl<T> RefUnwindSafe for AuthorizationFact<T>where
T: RefUnwindSafe,
impl<T> Send for AuthorizationFact<T>where
T: Send,
impl<T> Sync for AuthorizationFact<T>where
T: Sync,
impl<T> Unpin for AuthorizationFact<T>where
T: Unpin,
impl<T> UnsafeUnpin for AuthorizationFact<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for AuthorizationFact<T>where
T: UnwindSafe,
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