Struct google_sqladmin1_beta4::User [−][src]
pub struct User { pub project: Option<String>, pub instance: Option<String>, pub kind: Option<String>, pub etag: Option<String>, pub name: Option<String>, pub password: Option<String>, pub host: Option<String>, }
A Cloud SQL user resource.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- delete users (none)
- update users (request)
- list users (none)
- insert users (request)
Fields
project: Option<String>
The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for update since it is already specified on the URL.
instance: Option<String>
The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for update since it is already specified on the URL.
kind: Option<String>
This is always sql#user.
etag: Option<String>
This field is deprecated and will be removed from a future version of the API.
name: Option<String>
The name of the user in the Cloud SQL instance. Can be omitted for update since it is already specified in the URL.
password: Option<String>
The password for the user.
host: Option<String>
The host name from which the user can connect. For insert operations, host defaults to an empty string. For update operations, host is specified as part of the request URL. The host name cannot be updated after insertion.
Trait Implementations
impl Default for User
[src]
impl Default for User
impl Clone for User
[src]
impl Clone for User
fn clone(&self) -> User
[src]
fn clone(&self) -> User
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for User
[src]
impl Debug for User
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for User
[src]
impl RequestValue for User
impl Resource for User
[src]
impl Resource for User