Struct rusoto_redshift::ClusterCredentials
[−]
[src]
pub struct ClusterCredentials { pub db_password: Option<String>, pub db_user: Option<String>, pub expiration: Option<String>, }
Temporary credentials with authorization to log on to an Amazon Redshift database.
Fields
db_password: Option<String>
A temporary password that authorizes the user name returned by DbUser
to log on to the database DbName
.
db_user: Option<String>
A database user name that is authorized to log on to the database DbName
using the password DbPassword
. If the specified DbUser exists in the database, the new user name has the same database privileges as the the user named in DbUser. By default, the user is added to PUBLIC. If the DbGroups
parameter is specifed, DbUser
is added to the listed groups for any sessions created using these credentials.
expiration: Option<String>
The date and time the password in DbPassword
expires.
Trait Implementations
impl Default for ClusterCredentials
[src]
fn default() -> ClusterCredentials
[src]
Returns the "default value" for a type. Read more
impl Debug for ClusterCredentials
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ClusterCredentials
[src]
fn clone(&self) -> ClusterCredentials
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more