#[non_exhaustive]pub struct StorageStateOptions {
pub indexed_db: Option<bool>,
pub credentials: Option<bool>,
}Expand description
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.indexed_db: Option<bool>Include IndexedDB contents in the captured state.
credentials: Option<bool>Include the virtual authenticator’s WebAuthn passkeys.
Implementations§
Source§impl StorageStateOptions
impl StorageStateOptions
Sourcepub fn indexed_db(self, include: bool) -> Self
pub fn indexed_db(self, include: bool) -> Self
Include IndexedDB contents in the captured state.
Sourcepub fn credentials(self, include: bool) -> Self
pub fn credentials(self, include: bool) -> Self
Include the virtual authenticator’s WebAuthn passkeys.
Trait Implementations§
Source§impl Clone for StorageStateOptions
impl Clone for StorageStateOptions
Source§fn clone(&self) -> StorageStateOptions
fn clone(&self) -> StorageStateOptions
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 StorageStateOptions
impl Debug for StorageStateOptions
Source§impl Default for StorageStateOptions
impl Default for StorageStateOptions
Source§fn default() -> StorageStateOptions
fn default() -> StorageStateOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StorageStateOptions
impl RefUnwindSafe for StorageStateOptions
impl Send for StorageStateOptions
impl Sync for StorageStateOptions
impl Unpin for StorageStateOptions
impl UnsafeUnpin for StorageStateOptions
impl UnwindSafe for StorageStateOptions
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