#[non_exhaustive]pub struct GetDatabaseRequest {
pub name: String,
/* private fields */
}
Expand description
The request for GetDatabase.
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.name: String
Required. The name of the requested database. Values are of the form
projects/<project>/instances/<instance>/databases/<database>
.
Implementations§
Trait Implementations§
Source§impl Clone for GetDatabaseRequest
impl Clone for GetDatabaseRequest
Source§fn clone(&self) -> GetDatabaseRequest
fn clone(&self) -> GetDatabaseRequest
Returns a duplicate 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 GetDatabaseRequest
impl Debug for GetDatabaseRequest
Source§impl Default for GetDatabaseRequest
impl Default for GetDatabaseRequest
Source§fn default() -> GetDatabaseRequest
fn default() -> GetDatabaseRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetDatabaseRequest
impl Message for GetDatabaseRequest
Source§impl PartialEq for GetDatabaseRequest
impl PartialEq for GetDatabaseRequest
impl StructuralPartialEq for GetDatabaseRequest
Auto Trait Implementations§
impl Freeze for GetDatabaseRequest
impl RefUnwindSafe for GetDatabaseRequest
impl Send for GetDatabaseRequest
impl Sync for GetDatabaseRequest
impl Unpin for GetDatabaseRequest
impl UnwindSafe for GetDatabaseRequest
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