Struct google_sqladmin1_beta4::api::User[][src]

pub struct User {
    pub etag: Option<String>,
    pub host: Option<String>,
    pub instance: Option<String>,
    pub kind: Option<String>,
    pub name: Option<String>,
    pub password: Option<String>,
    pub project: Option<String>,
    pub sqlserver_user_details: Option<SqlServerUserDetails>,
    pub type_: 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).

Fields

etag: Option<String>

This field is deprecated and will be removed from a future version of the API.

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.

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.

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.

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.

sqlserver_user_details: Option<SqlServerUserDetails>

no description provided

type_: Option<String>

The user type. It determines the method to authenticate the user during login. The default is the database’s built-in user type.

Trait Implementations

impl Clone for User[src]

impl Debug for User[src]

impl Default for User[src]

impl<'de> Deserialize<'de> for User[src]

impl RequestValue for User[src]

impl Resource for User[src]

impl Serialize for User[src]

Auto Trait Implementations

impl RefUnwindSafe for User

impl Send for User

impl Sync for User

impl Unpin for User

impl UnwindSafe for User

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.