pub struct GmailAuthStatus {
pub has_client_id: bool,
pub has_client_secret: bool,
pub has_refresh_token: bool,
pub scope: Option<String>,
}Expand description
Secret-free presence/scope report, safe to serialise (e.g. over MCP).
Fields§
§has_client_id: boolWhether GMAIL_CLIENT_ID is present.
has_client_secret: boolWhether GMAIL_CLIENT_SECRET is present.
has_refresh_token: boolWhether GMAIL_REFRESH_TOKEN is present.
scope: Option<String>The granted scope, if recorded. None when unset.
Trait Implementations§
Source§impl Clone for GmailAuthStatus
impl Clone for GmailAuthStatus
Source§fn clone(&self) -> GmailAuthStatus
fn clone(&self) -> GmailAuthStatus
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 GmailAuthStatus
impl Debug for GmailAuthStatus
impl Eq for GmailAuthStatus
Source§impl PartialEq for GmailAuthStatus
impl PartialEq for GmailAuthStatus
Source§impl Serialize for GmailAuthStatus
impl Serialize for GmailAuthStatus
impl StructuralPartialEq for GmailAuthStatus
Auto Trait Implementations§
impl Freeze for GmailAuthStatus
impl RefUnwindSafe for GmailAuthStatus
impl Send for GmailAuthStatus
impl Sync for GmailAuthStatus
impl Unpin for GmailAuthStatus
impl UnsafeUnpin for GmailAuthStatus
impl UnwindSafe for GmailAuthStatus
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,
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.