pub struct AccountAccess {
pub type: Type,
pub provider_id: Option<String>,
pub account_id: String,
}Fields§
§type: TypeIndicates this uses account-based access
provider_id: Option<String>The ID of the provider
account_id: StringThe ID of the account
Implementations§
Source§impl AccountAccess
impl AccountAccess
pub fn new(type: Type, account_id: String) -> AccountAccess
Trait Implementations§
Source§impl Clone for AccountAccess
impl Clone for AccountAccess
Source§fn clone(&self) -> AccountAccess
fn clone(&self) -> AccountAccess
Returns a duplicate of the value. Read more
1.0.0 · 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 AccountAccess
impl Debug for AccountAccess
Source§impl Default for AccountAccess
impl Default for AccountAccess
Source§fn default() -> AccountAccess
fn default() -> AccountAccess
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountAccess
impl<'de> Deserialize<'de> for AccountAccess
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
Source§impl PartialEq for AccountAccess
impl PartialEq for AccountAccess
Source§impl Serialize for AccountAccess
impl Serialize for AccountAccess
impl StructuralPartialEq for AccountAccess
Auto Trait Implementations§
impl Freeze for AccountAccess
impl RefUnwindSafe for AccountAccess
impl Send for AccountAccess
impl Sync for AccountAccess
impl Unpin for AccountAccess
impl UnwindSafe for AccountAccess
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