pub struct DirectAccessProvider {
pub id: String,
pub name: String,
pub logo: Option<String>,
pub account_based: bool,
pub approved: Option<bool>,
pub has_terms_of_service: bool,
pub terms_of_service_url: Option<String>,
}Fields§
§id: StringUnique identifier for the provider
name: StringDisplay name of the provider
logo: Option<String>URL to the logo image of the provider
account_based: boolIndicates whether the provider access model is through accounts or directly
approved: Option<bool>Whether the provider was approved for use
has_terms_of_service: boolWhether the provider has terms of service
terms_of_service_url: Option<String>URL to the terms of service document
Implementations§
Trait Implementations§
Source§impl Clone for DirectAccessProvider
impl Clone for DirectAccessProvider
Source§fn clone(&self) -> DirectAccessProvider
fn clone(&self) -> DirectAccessProvider
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 DirectAccessProvider
impl Debug for DirectAccessProvider
Source§impl Default for DirectAccessProvider
impl Default for DirectAccessProvider
Source§fn default() -> DirectAccessProvider
fn default() -> DirectAccessProvider
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DirectAccessProvider
impl<'de> Deserialize<'de> for DirectAccessProvider
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 DirectAccessProvider
impl PartialEq for DirectAccessProvider
Source§impl Serialize for DirectAccessProvider
impl Serialize for DirectAccessProvider
impl StructuralPartialEq for DirectAccessProvider
Auto Trait Implementations§
impl Freeze for DirectAccessProvider
impl RefUnwindSafe for DirectAccessProvider
impl Send for DirectAccessProvider
impl Sync for DirectAccessProvider
impl Unpin for DirectAccessProvider
impl UnwindSafe for DirectAccessProvider
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