#[non_exhaustive]pub struct SqlUsersGetRequest {
pub instance: String,
pub name: String,
pub project: String,
pub host: String,
/* private fields */
}
Expand description
Request message for Users Get RPC
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance: String
Database instance ID. This does not include the project ID.
name: String
User of the instance.
project: String
Project ID of the project that contains the instance.
host: String
Host of a user of the instance.
Implementations§
Source§impl SqlUsersGetRequest
impl SqlUsersGetRequest
Trait Implementations§
Source§impl Clone for SqlUsersGetRequest
impl Clone for SqlUsersGetRequest
Source§fn clone(&self) -> SqlUsersGetRequest
fn clone(&self) -> SqlUsersGetRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SqlUsersGetRequest
impl Debug for SqlUsersGetRequest
Source§impl Default for SqlUsersGetRequest
impl Default for SqlUsersGetRequest
Source§fn default() -> SqlUsersGetRequest
fn default() -> SqlUsersGetRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SqlUsersGetRequestwhere
SqlUsersGetRequest: Default,
impl<'de> Deserialize<'de> for SqlUsersGetRequestwhere
SqlUsersGetRequest: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for SqlUsersGetRequest
impl Message for SqlUsersGetRequest
Source§impl PartialEq for SqlUsersGetRequest
impl PartialEq for SqlUsersGetRequest
Source§impl Serialize for SqlUsersGetRequest
impl Serialize for SqlUsersGetRequest
impl StructuralPartialEq for SqlUsersGetRequest
Auto Trait Implementations§
impl Freeze for SqlUsersGetRequest
impl RefUnwindSafe for SqlUsersGetRequest
impl Send for SqlUsersGetRequest
impl Sync for SqlUsersGetRequest
impl Unpin for SqlUsersGetRequest
impl UnwindSafe for SqlUsersGetRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more