Struct gapi_grpc::google::cloud::sql::v1beta4::User [−][src]
A Cloud SQL user resource.
Fields
kind: String
This is always sql#user.
password: String
The password for the user.
etag: String
This field is deprecated and will be removed from a future version of the API.
name: String
The name of the user in the Cloud SQL instance. Can be omitted for update since it is already specified in the URL.
host: 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: 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.
project: 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.
type: i32
The user type. It determines the method to authenticate the user during login. The default is the database’s built-in user type.
user_details: Option<UserDetails>
User details for specific database type
Implementations
impl User
[src][−]
pub fn type(&self) -> SqlUserType
[src][−]
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
pub fn set_type(&mut self, value: SqlUserType)
[src][−]
Sets type
to the provided enum value.
Trait Implementations
impl Clone for User
[src][+]
impl Debug for User
[src][+]
impl Default for User
[src][+]
impl Message for User
[src][+]
impl PartialEq<User> for User
[src][+]
impl StructuralPartialEq 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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,