pub struct AccountSummary {
pub name: String,
pub email_address: Option<String>,
pub scope: Option<String>,
pub is_default: bool,
}Expand description
One row of drive account list / the drive_account_list MCP tool.
Never carries a secret — only what’s safe to render.
Fields§
§name: StringThe account name passed to --account.
email_address: Option<String>The display-only cached email address, if known.
scope: Option<String>The OAuth2 scope this account was authorized with, if known.
is_default: boolWhether this is drive.default_account.
Trait Implementations§
Source§impl Clone for AccountSummary
impl Clone for AccountSummary
Source§fn clone(&self) -> AccountSummary
fn clone(&self) -> AccountSummary
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 AccountSummary
impl Debug for AccountSummary
impl Eq for AccountSummary
Source§impl PartialEq for AccountSummary
impl PartialEq for AccountSummary
Source§impl Serialize for AccountSummary
impl Serialize for AccountSummary
impl StructuralPartialEq for AccountSummary
Auto Trait Implementations§
impl Freeze for AccountSummary
impl RefUnwindSafe for AccountSummary
impl Send for AccountSummary
impl Sync for AccountSummary
impl Unpin for AccountSummary
impl UnsafeUnpin for AccountSummary
impl UnwindSafe for AccountSummary
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.