pub struct DatabaseCredentials {
pub username: String,
pub password: String,
}Expand description
Generated credentials returned to the caller.
Fields§
§username: StringGenerated username.
password: StringGenerated password.
Trait Implementations§
Source§impl Clone for DatabaseCredentials
impl Clone for DatabaseCredentials
Source§fn clone(&self) -> DatabaseCredentials
fn clone(&self) -> DatabaseCredentials
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 DatabaseCredentials
impl Debug for DatabaseCredentials
Source§impl<'de> Deserialize<'de> for DatabaseCredentials
impl<'de> Deserialize<'de> for DatabaseCredentials
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 DatabaseCredentials
impl RefUnwindSafe for DatabaseCredentials
impl Send for DatabaseCredentials
impl Sync for DatabaseCredentials
impl Unpin for DatabaseCredentials
impl UnwindSafe for DatabaseCredentials
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