#[non_exhaustive]pub struct UserPassword {
pub user: String,
pub password: String,
pub password_set: bool,
/* private fields */
}Expand description
The username/password for a database user. Used for specifying initial users at cluster creation time.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.user: StringThe database username.
password: StringThe initial password for the user.
password_set: boolOutput only. Indicates if the initial_user.password field has been set.
Implementations§
Source§impl UserPassword
impl UserPassword
Trait Implementations§
Source§impl Clone for UserPassword
impl Clone for UserPassword
Source§fn clone(&self) -> UserPassword
fn clone(&self) -> UserPassword
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 UserPassword
impl Debug for UserPassword
Source§impl Default for UserPassword
impl Default for UserPassword
Source§fn default() -> UserPassword
fn default() -> UserPassword
Returns the “default value” for a type. Read more
Source§impl Message for UserPassword
impl Message for UserPassword
Source§impl PartialEq for UserPassword
impl PartialEq for UserPassword
impl StructuralPartialEq for UserPassword
Auto Trait Implementations§
impl Freeze for UserPassword
impl RefUnwindSafe for UserPassword
impl Send for UserPassword
impl Sync for UserPassword
impl Unpin for UserPassword
impl UnwindSafe for UserPassword
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