[−][src]Struct nextcloud_passwords_client::service::GeneratePassword
Implementations
impl GeneratePassword
[src]
pub fn new() -> Self
[src]
pub fn strength(self, strength: PasswordStrength) -> Self
[src]
A higher value creates a longer and more complex password (Default = 1)
pub fn numbers(self, numbers: bool) -> Self
[src]
Whether or not numbers should be used in the password (Default = false)
pub fn special(self, special: bool) -> Self
[src]
Whether or not special characters should be used in the password
Trait Implementations
impl Debug for GeneratePassword
[src]
impl Default for GeneratePassword
[src]
fn default() -> GeneratePassword
[src]
impl Serialize for GeneratePassword
[src]
Auto Trait Implementations
impl RefUnwindSafe for GeneratePassword
impl Send for GeneratePassword
impl Sync for GeneratePassword
impl Unpin for GeneratePassword
impl UnwindSafe for GeneratePassword
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,