pub struct DriveAuthStatus {
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 DRIVE_CLIENT_ID is present.
has_client_secret: boolWhether DRIVE_CLIENT_SECRET is present.
has_refresh_token: boolWhether DRIVE_REFRESH_TOKEN is present.
scope: Option<String>The granted scope, if recorded. None when unset.
Trait Implementations§
Source§impl Clone for DriveAuthStatus
impl Clone for DriveAuthStatus
Source§fn clone(&self) -> DriveAuthStatus
fn clone(&self) -> DriveAuthStatus
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 DriveAuthStatus
impl Debug for DriveAuthStatus
impl Eq for DriveAuthStatus
Source§impl PartialEq for DriveAuthStatus
impl PartialEq for DriveAuthStatus
Source§impl Serialize for DriveAuthStatus
impl Serialize for DriveAuthStatus
impl StructuralPartialEq for DriveAuthStatus
Auto Trait Implementations§
impl Freeze for DriveAuthStatus
impl RefUnwindSafe for DriveAuthStatus
impl Send for DriveAuthStatus
impl Sync for DriveAuthStatus
impl Unpin for DriveAuthStatus
impl UnsafeUnpin for DriveAuthStatus
impl UnwindSafe for DriveAuthStatus
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.