Struct mysql_async_support_model::DbSchemaCred [−][src]
pub struct DbSchemaCred<'db_cred> { pub schema_name: Option<Cow<'db_cred, str>>, pub username: Cow<'db_cred, str>, pub password: Cow<'db_cred, str>, }
Expand description
Credentials to access a database schema.
Fields
schema_name: Option<Cow<'db_cred, str>>
Database schema name, None
if no schema is selected.
username: Cow<'db_cred, str>
Username to login to the database server.
password: Cow<'db_cred, str>
Password to login to the database server.
Implementations
Returns an owned version of self.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'db_cred> RefUnwindSafe for DbSchemaCred<'db_cred>
impl<'db_cred> Send for DbSchemaCred<'db_cred>
impl<'db_cred> Sync for DbSchemaCred<'db_cred>
impl<'db_cred> Unpin for DbSchemaCred<'db_cred>
impl<'db_cred> UnwindSafe for DbSchemaCred<'db_cred>
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V