pub struct HaveIBeenPwnedOptions {
pub custom_password_compromised_message: Option<String>,
pub paths: Vec<String>,
pub enabled: bool,
pub checker: Option<Arc<dyn HaveIBeenPwnedChecker>>,
}Fields§
§custom_password_compromised_message: Option<String>§paths: Vec<String>§enabled: bool§checker: Option<Arc<dyn HaveIBeenPwnedChecker>>Implementations§
Source§impl HaveIBeenPwnedOptions
impl HaveIBeenPwnedOptions
pub fn builder() -> HaveIBeenPwnedOptionsBuilder
pub fn checker(self, checker: Arc<dyn HaveIBeenPwnedChecker>) -> Self
Trait Implementations§
Source§impl Clone for HaveIBeenPwnedOptions
impl Clone for HaveIBeenPwnedOptions
Source§fn clone(&self) -> HaveIBeenPwnedOptions
fn clone(&self) -> HaveIBeenPwnedOptions
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 HaveIBeenPwnedOptions
impl Debug for HaveIBeenPwnedOptions
Auto Trait Implementations§
impl !RefUnwindSafe for HaveIBeenPwnedOptions
impl !UnwindSafe for HaveIBeenPwnedOptions
impl Freeze for HaveIBeenPwnedOptions
impl Send for HaveIBeenPwnedOptions
impl Sync for HaveIBeenPwnedOptions
impl Unpin for HaveIBeenPwnedOptions
impl UnsafeUnpin for HaveIBeenPwnedOptions
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