pub struct GeneratedPasswordCredential {
pub password: String,
}Expand description
A GeneratedPasswordCredential type represents a credential consisting of a machine-generated password.
Note: A GeneratedPasswordCredential is used when a password is generated independently of creating a new BasicAuthCredential. Some providers may offer a dedicated password generator feature. In such cases, the provider may create GeneratedPasswordCredential instances as deemed appropriate for the use of this feature.
Fields§
§password: StringThe machine-generated password.
Trait Implementations§
Source§impl Clone for GeneratedPasswordCredential
impl Clone for GeneratedPasswordCredential
Source§fn clone(&self) -> GeneratedPasswordCredential
fn clone(&self) -> GeneratedPasswordCredential
Returns a duplicate of the value. Read more
1.0.0 · 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 GeneratedPasswordCredential
impl Debug for GeneratedPasswordCredential
Source§impl<'de> Deserialize<'de> for GeneratedPasswordCredential
impl<'de> Deserialize<'de> for GeneratedPasswordCredential
Source§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
Auto Trait Implementations§
impl Freeze for GeneratedPasswordCredential
impl RefUnwindSafe for GeneratedPasswordCredential
impl Send for GeneratedPasswordCredential
impl Sync for GeneratedPasswordCredential
impl Unpin for GeneratedPasswordCredential
impl UnwindSafe for GeneratedPasswordCredential
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