[][src]Struct google_sqladmin1_beta4::User

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).

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 Resource for User[src]

impl RequestValue for User[src]

impl Default for User[src]

impl Clone for User[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for User[src]

impl Serialize for User[src]

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

Auto Trait Implementations

impl Send for User

impl Unpin for User

impl Sync for User

impl UnwindSafe for User

impl RefUnwindSafe for User

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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