pub struct Authorized<O> {
pub outcome: O,
pub decision: Decision<O>,
}Expand description
Successful authorization result returned to handlers.
Fields§
§outcome: OGranted outcome.
decision: Decision<O>Full decision returned by the pure evaluator.
Trait Implementations§
Source§impl<O: Clone> Clone for Authorized<O>
impl<O: Clone> Clone for Authorized<O>
Source§fn clone(&self) -> Authorized<O>
fn clone(&self) -> Authorized<O>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<O: Debug> Debug for Authorized<O>
impl<O: Debug> Debug for Authorized<O>
impl<O: Eq> Eq for Authorized<O>
Source§impl<O: PartialEq> PartialEq for Authorized<O>
impl<O: PartialEq> PartialEq for Authorized<O>
impl<O: PartialEq> StructuralPartialEq for Authorized<O>
Auto Trait Implementations§
impl<O> Freeze for Authorized<O>where
O: Freeze,
impl<O> RefUnwindSafe for Authorized<O>where
O: RefUnwindSafe,
impl<O> Send for Authorized<O>where
O: Send,
impl<O> Sync for Authorized<O>where
O: Sync,
impl<O> Unpin for Authorized<O>where
O: Unpin,
impl<O> UnsafeUnpin for Authorized<O>where
O: UnsafeUnpin,
impl<O> UnwindSafe for Authorized<O>where
O: 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