pub struct AccountIdentity {
pub external_id: String,
pub display_name: String,
pub granted_scopes: Vec<String>,
}Expand description
Who a set of credentials belongs to.
Fields§
§external_id: StringThe service’s own identifier — a GitHub login, a GA4 property id.
display_name: StringWhat to show the user.
granted_scopes: Vec<String>Scopes the service reports as actually granted, which can be fewer than requested. Surfacing this is how a product explains a missing feature.
Trait Implementations§
Source§impl Clone for AccountIdentity
impl Clone for AccountIdentity
Source§fn clone(&self) -> AccountIdentity
fn clone(&self) -> AccountIdentity
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 AccountIdentity
impl Debug for AccountIdentity
Source§impl<'de> Deserialize<'de> for AccountIdentity
impl<'de> Deserialize<'de> for AccountIdentity
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
impl Eq for AccountIdentity
Source§impl PartialEq for AccountIdentity
impl PartialEq for AccountIdentity
Source§impl Serialize for AccountIdentity
impl Serialize for AccountIdentity
impl StructuralPartialEq for AccountIdentity
Auto Trait Implementations§
impl Freeze for AccountIdentity
impl RefUnwindSafe for AccountIdentity
impl Send for AccountIdentity
impl Sync for AccountIdentity
impl Unpin for AccountIdentity
impl UnsafeUnpin for AccountIdentity
impl UnwindSafe for AccountIdentity
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