pub enum InviteStanding {
Valid(Invite),
Used(RedeemedInvite),
Expired(Invite),
Unknown,
}Expand description
What an invite secret is now (AuthTable::check_invite): read-only,
nothing is spent.
Variants§
Valid(Invite)
Redeemable now.
Used(RedeemedInvite)
A passkey was registered with it.
Expired(Invite)
Past its expiry, never redeemed.
Unknown
No invite has this secret: never made, withdrawn, or its principal removed.
Trait Implementations§
Source§impl Clone for InviteStanding
impl Clone for InviteStanding
Source§impl Debug for InviteStanding
impl Debug for InviteStanding
impl Eq for InviteStanding
Source§impl PartialEq for InviteStanding
impl PartialEq for InviteStanding
impl StructuralPartialEq for InviteStanding
Auto Trait Implementations§
impl Freeze for InviteStanding
impl RefUnwindSafe for InviteStanding
impl Send for InviteStanding
impl Sync for InviteStanding
impl Unpin for InviteStanding
impl UnsafeUnpin for InviteStanding
impl UnwindSafe for InviteStanding
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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