[−][src]Struct pwnage::HIBP
Fields
api_key: String
user_agent: String
Methods
impl HIBP
[src]
pub fn breached_account(
self,
account: &str
) -> Result<Vec<BreachedAccount>, HIBPError>
[src]
self,
account: &str
) -> Result<Vec<BreachedAccount>, HIBPError>
pub fn breached_account_full(
self,
account: &str
) -> Result<Vec<Breach>, HIBPError>
[src]
self,
account: &str
) -> Result<Vec<Breach>, HIBPError>
pub fn breached_account_by_domain(
self,
account: &str,
domain: &str
) -> Result<Vec<BreachedAccount>, HIBPError>
[src]
self,
account: &str,
domain: &str
) -> Result<Vec<BreachedAccount>, HIBPError>
pub fn breached_account_by_domain_full(
self,
account: &str,
domain: &str
) -> Result<Vec<Breach>, HIBPError>
[src]
self,
account: &str,
domain: &str
) -> Result<Vec<Breach>, HIBPError>
impl HIBP
[src]
pub fn breaches(self) -> Result<Vec<Breach>, HIBPError>
[src]
pub fn breach(self, name: &str) -> Result<Vec<Breach>, HIBPError>
[src]
pub fn breaches_by_domain(self, domain: &str) -> Result<Vec<Breach>, HIBPError>
[src]
impl HIBP
[src]
impl HIBP
[src]
impl HIBP
[src]
impl HIBP
[src]
pub fn pwned_passwords(self, password: &str) -> Result<PwnedPassword, HIBPError>
[src]
Auto Trait Implementations
impl Unpin for HIBP
impl Sync for HIBP
impl Send for HIBP
impl UnwindSafe for HIBP
impl RefUnwindSafe for HIBP
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self