pub struct AuthorizePending {
pub record: DecisionRecord,
pub granted: ScopeSet,
pub cut: ScopeSet,
pub rule: String,
pub signed_in: bool,
pub held: bool,
}Expand description
A decision, as the page shows it.
Only a decision that grants something reaches this type, so granted
and cut are read off the verdict once, where the refusal case is
already answered.
Fields§
§record: DecisionRecordThe decision itself — client origin, requested scope, verdict, and what the verdict cut.
granted: ScopeSetWhat approving this covers.
cut: ScopeSetWhat the ceiling took out of the request. Empty when it took nothing.
rule: StringWhat did the narrowing, when cut is not empty.
signed_in: boolWhether the browser loading the page is signed in as the account.
held: boolWhether the approval’s code waits here for a browser signed in as the account.
Implementations§
Source§impl AuthorizePending
impl AuthorizePending
Trait Implementations§
Source§impl Clone for AuthorizePending
impl Clone for AuthorizePending
Source§fn clone(&self) -> AuthorizePending
fn clone(&self) -> AuthorizePending
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 moreAuto Trait Implementations§
impl Freeze for AuthorizePending
impl RefUnwindSafe for AuthorizePending
impl Send for AuthorizePending
impl Sync for AuthorizePending
impl Unpin for AuthorizePending
impl UnsafeUnpin for AuthorizePending
impl UnwindSafe for AuthorizePending
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more