pub struct SignInDecision {
pub complete: bool,
pub methods: Vec<Offer>,
pub rule: Option<String>,
pub limits: BTreeMap<String, Value>,
}Expand description
What a sign-in may do next.
Fields§
§complete: boolWhether the steps passed are enough to open the session.
methods: Vec<Offer>The methods that may be presented next, empty when none may: with
complete false that is a refusal.
rule: Option<String>The rule that decided, by name or position, for a log.
limits: BTreeMap<String, Value>Limits for the session, such as a lifetime; provider-defined.
Trait Implementations§
Source§impl Clone for SignInDecision
impl Clone for SignInDecision
Source§impl Debug for SignInDecision
impl Debug for SignInDecision
Source§impl Default for SignInDecision
impl Default for SignInDecision
impl Eq for SignInDecision
Source§impl FromValue for SignInDecision
impl FromValue for SignInDecision
Source§const KINDS: Kinds = ::guatiao::Kinds::MAP
const KINDS: Kinds = ::guatiao::Kinds::MAP
The kinds
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.Source§fn from_value(__value: &Value) -> Result<Self, MapError>
fn from_value(__value: &Value) -> Result<Self, MapError>
Performs the conversion. Read more
Source§impl FromWalk for SignInDecision
impl FromWalk for SignInDecision
Source§impl MapRead for SignInDecision
impl MapRead for SignInDecision
Source§impl PartialEq for SignInDecision
impl PartialEq for SignInDecision
Source§impl Schema for SignInDecision
impl Schema for SignInDecision
impl StructuralPartialEq for SignInDecision
Source§impl ToValue for SignInDecision
impl ToValue for SignInDecision
Auto Trait Implementations§
impl Freeze for SignInDecision
impl RefUnwindSafe for SignInDecision
impl Send for SignInDecision
impl Sync for SignInDecision
impl Unpin for SignInDecision
impl UnsafeUnpin for SignInDecision
impl UnwindSafe for SignInDecision
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