pub struct OAuthProviderRegistry { /* private fields */ }Implementations§
Source§impl OAuthProviderRegistry
impl OAuthProviderRegistry
pub fn validate( descriptors: impl IntoIterator<Item = OAuthProviderDescriptor>, references: impl IntoIterator<Item = ProviderReference>, ) -> Result<Self, String>
pub fn get(&self, id: OAuthProviderId) -> Option<&OAuthProviderDescriptor>
pub fn iter(&self) -> impl Iterator<Item = &OAuthProviderDescriptor>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OAuthProviderRegistry
impl RefUnwindSafe for OAuthProviderRegistry
impl Send for OAuthProviderRegistry
impl Sync for OAuthProviderRegistry
impl Unpin for OAuthProviderRegistry
impl UnsafeUnpin for OAuthProviderRegistry
impl UnwindSafe for OAuthProviderRegistry
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