#[non_exhaustive]pub struct CredentialsGetOptions {
pub rp_id: Option<String>,
pub id: Option<String>,
}Expand description
Filters for Credentials::get. With no filter set, all credentials are
returned.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.rp_id: Option<String>Only return credentials scoped to this relying-party ID.
id: Option<String>Only return the credential with this ID.
Implementations§
Trait Implementations§
Source§impl Clone for CredentialsGetOptions
impl Clone for CredentialsGetOptions
Source§fn clone(&self) -> CredentialsGetOptions
fn clone(&self) -> CredentialsGetOptions
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 CredentialsGetOptions
impl Debug for CredentialsGetOptions
Source§impl Default for CredentialsGetOptions
impl Default for CredentialsGetOptions
Source§fn default() -> CredentialsGetOptions
fn default() -> CredentialsGetOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CredentialsGetOptions
impl RefUnwindSafe for CredentialsGetOptions
impl Send for CredentialsGetOptions
impl Sync for CredentialsGetOptions
impl Unpin for CredentialsGetOptions
impl UnsafeUnpin for CredentialsGetOptions
impl UnwindSafe for CredentialsGetOptions
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