Struct aws_sdk_lightsail::operation::get_relational_database_master_user_password::GetRelationalDatabaseMasterUserPasswordInput
source · #[non_exhaustive]pub struct GetRelationalDatabaseMasterUserPasswordInput {
pub relational_database_name: Option<String>,
pub password_version: Option<RelationalDatabasePasswordVersion>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.relational_database_name: Option<String>
The name of your database for which to get the master user password.
password_version: Option<RelationalDatabasePasswordVersion>
The password version to return.
Specifying CURRENT
or PREVIOUS
returns the current or previous passwords respectively. Specifying PENDING
returns the newest version of the password that will rotate to CURRENT
. After the PENDING
password rotates to CURRENT
, the PENDING
password is no longer available.
Default: CURRENT
Implementations§
source§impl GetRelationalDatabaseMasterUserPasswordInput
impl GetRelationalDatabaseMasterUserPasswordInput
sourcepub fn relational_database_name(&self) -> Option<&str>
pub fn relational_database_name(&self) -> Option<&str>
The name of your database for which to get the master user password.
sourcepub fn password_version(&self) -> Option<&RelationalDatabasePasswordVersion>
pub fn password_version(&self) -> Option<&RelationalDatabasePasswordVersion>
The password version to return.
Specifying CURRENT
or PREVIOUS
returns the current or previous passwords respectively. Specifying PENDING
returns the newest version of the password that will rotate to CURRENT
. After the PENDING
password rotates to CURRENT
, the PENDING
password is no longer available.
Default: CURRENT
source§impl GetRelationalDatabaseMasterUserPasswordInput
impl GetRelationalDatabaseMasterUserPasswordInput
sourcepub fn builder() -> GetRelationalDatabaseMasterUserPasswordInputBuilder
pub fn builder() -> GetRelationalDatabaseMasterUserPasswordInputBuilder
Creates a new builder-style object to manufacture GetRelationalDatabaseMasterUserPasswordInput
.
Trait Implementations§
source§impl Clone for GetRelationalDatabaseMasterUserPasswordInput
impl Clone for GetRelationalDatabaseMasterUserPasswordInput
source§fn clone(&self) -> GetRelationalDatabaseMasterUserPasswordInput
fn clone(&self) -> GetRelationalDatabaseMasterUserPasswordInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetRelationalDatabaseMasterUserPasswordInput
impl PartialEq for GetRelationalDatabaseMasterUserPasswordInput
source§fn eq(&self, other: &GetRelationalDatabaseMasterUserPasswordInput) -> bool
fn eq(&self, other: &GetRelationalDatabaseMasterUserPasswordInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetRelationalDatabaseMasterUserPasswordInput
Auto Trait Implementations§
impl Freeze for GetRelationalDatabaseMasterUserPasswordInput
impl RefUnwindSafe for GetRelationalDatabaseMasterUserPasswordInput
impl Send for GetRelationalDatabaseMasterUserPasswordInput
impl Sync for GetRelationalDatabaseMasterUserPasswordInput
impl Unpin for GetRelationalDatabaseMasterUserPasswordInput
impl UnwindSafe for GetRelationalDatabaseMasterUserPasswordInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more