pub enum VerifyReason {
TokenStored,
ExternalToken,
Periodic,
}Expand description
Why the account is being asked.
Variants§
TokenStored
A token was just stored: always check.
ExternalToken
The token came from GITPOULPI_TOKEN_* or the credential helper:
once per process.
Periodic
An ordinary use: when the last check is older than a day.
Trait Implementations§
Source§impl Clone for VerifyReason
impl Clone for VerifyReason
impl Copy for VerifyReason
Source§impl Debug for VerifyReason
impl Debug for VerifyReason
impl Eq for VerifyReason
Source§impl PartialEq for VerifyReason
impl PartialEq for VerifyReason
impl StructuralPartialEq for VerifyReason
Auto Trait Implementations§
impl Forget for VerifyReason
impl Freeze for VerifyReason
impl Move for VerifyReason
impl RefUnwindSafe for VerifyReason
impl Send for VerifyReason
impl Sync for VerifyReason
impl Unpin for VerifyReason
impl UnsafeUnpin for VerifyReason
impl UnwindSafe for VerifyReason
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.