pub struct UpstreamOauthStatusView {
pub authenticated: bool,
pub upstream: String,
pub state: UpstreamOauthConnectionState,
pub access_token_expires_at: Option<i64>,
pub seconds_until_expiry: Option<i64>,
pub refresh_token_present: bool,
}Fields§
§authenticated: bool§upstream: String§state: UpstreamOauthConnectionState§access_token_expires_at: Option<i64>§seconds_until_expiry: Option<i64>§refresh_token_present: boolTrait Implementations§
Source§impl Clone for UpstreamOauthStatusView
impl Clone for UpstreamOauthStatusView
Source§fn clone(&self) -> UpstreamOauthStatusView
fn clone(&self) -> UpstreamOauthStatusView
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 moreSource§impl Debug for UpstreamOauthStatusView
impl Debug for UpstreamOauthStatusView
Source§impl PartialEq for UpstreamOauthStatusView
impl PartialEq for UpstreamOauthStatusView
Source§fn eq(&self, other: &UpstreamOauthStatusView) -> bool
fn eq(&self, other: &UpstreamOauthStatusView) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpstreamOauthStatusView
impl Serialize for UpstreamOauthStatusView
impl Eq for UpstreamOauthStatusView
impl StructuralPartialEq for UpstreamOauthStatusView
Auto Trait Implementations§
impl Freeze for UpstreamOauthStatusView
impl RefUnwindSafe for UpstreamOauthStatusView
impl Send for UpstreamOauthStatusView
impl Sync for UpstreamOauthStatusView
impl Unpin for UpstreamOauthStatusView
impl UnsafeUnpin for UpstreamOauthStatusView
impl UnwindSafe for UpstreamOauthStatusView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.