pub struct ProviderDescriptor {
pub id: ProviderId,
pub endpoints: ProviderEndpoints,
pub supported_grants: SupportedGrants,
pub preferred_client_auth_method: ClientAuthMethod,
pub quirks: ProviderQuirks,
}Expand description
Immutable provider descriptor consumed by flows.
Fields§
§id: ProviderIdDescriptor identifier.
endpoints: ProviderEndpointsEndpoint definitions exposed by the provider.
supported_grants: SupportedGrantsSupported grant flags.
preferred_client_auth_method: ClientAuthMethodPreferred client authentication mechanism.
quirks: ProviderQuirksProvider-specific quirks.
Implementations§
Source§impl ProviderDescriptor
impl ProviderDescriptor
Sourcepub fn builder(id: ProviderId) -> ProviderDescriptorBuilder
pub fn builder(id: ProviderId) -> ProviderDescriptorBuilder
Creates a new builder for the provided identifier.
Trait Implementations§
Source§impl Clone for ProviderDescriptor
impl Clone for ProviderDescriptor
Source§fn clone(&self) -> ProviderDescriptor
fn clone(&self) -> ProviderDescriptor
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 ProviderDescriptor
impl Debug for ProviderDescriptor
Source§impl<'de> Deserialize<'de> for ProviderDescriptor
impl<'de> Deserialize<'de> for ProviderDescriptor
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 ProviderDescriptor
impl PartialEq for ProviderDescriptor
Source§impl Serialize for ProviderDescriptor
impl Serialize for ProviderDescriptor
impl Eq for ProviderDescriptor
impl StructuralPartialEq for ProviderDescriptor
Auto Trait Implementations§
impl Freeze for ProviderDescriptor
impl RefUnwindSafe for ProviderDescriptor
impl Send for ProviderDescriptor
impl Sync for ProviderDescriptor
impl Unpin for ProviderDescriptor
impl UnwindSafe for ProviderDescriptor
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.