Struct t_rust_less_lib::api::PasswordStrength [−][src]
pub struct PasswordStrength { pub entropy: f64, pub crack_time: f64, pub crack_time_display: String, pub score: u8, }
Fields
entropy: f64
crack_time: f64
crack_time_display: String
score: u8
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PasswordStrength
impl Send for PasswordStrength
impl Sync for PasswordStrength
impl Unpin for PasswordStrength
impl UnwindSafe for PasswordStrength
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self