pub struct OpenIdCachedCertificate {
pub certificate: Option<OpenIdCertificate>,
pub last_fetch_attempt: OpenIdLastFetchAttempt,
}Fields§
§certificate: Option<OpenIdCertificate>§last_fetch_attempt: OpenIdLastFetchAttemptImplementations§
Source§impl OpenIdCachedCertificate
impl OpenIdCachedCertificate
pub fn init() -> Self
pub fn record_attempt(&mut self, reset_streak: bool)
pub fn update_certificate(&mut self, certificate: &OpenIdCertificate)
Trait Implementations§
Source§impl CandidType for OpenIdCachedCertificate
impl CandidType for OpenIdCachedCertificate
Source§impl Clone for OpenIdCachedCertificate
impl Clone for OpenIdCachedCertificate
Source§fn clone(&self) -> OpenIdCachedCertificate
fn clone(&self) -> OpenIdCachedCertificate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for OpenIdCachedCertificate
impl<'de> Deserialize<'de> for OpenIdCachedCertificate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OpenIdCachedCertificate
impl RefUnwindSafe for OpenIdCachedCertificate
impl Send for OpenIdCachedCertificate
impl Sync for OpenIdCachedCertificate
impl Unpin for OpenIdCachedCertificate
impl UnsafeUnpin for OpenIdCachedCertificate
impl UnwindSafe for OpenIdCachedCertificate
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