#[non_exhaustive]pub struct SqlDatabasesDeleteRequest {
pub database: String,
pub instance: String,
pub project: String,
pub location: String,
/* private fields */
}Expand description
Database delete request.
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.database: StringName of the database to be deleted in the instance.
instance: StringDatabase instance ID. This does not include the project ID.
project: StringProject ID of the project that contains the instance.
location: StringOptional. Region of the Cloud SQL instance.
Implementations§
Source§impl SqlDatabasesDeleteRequest
impl SqlDatabasesDeleteRequest
Sourcepub fn set_database<T: Into<String>>(self, v: T) -> Self
pub fn set_database<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_instance<T: Into<String>>(self, v: T) -> Self
pub fn set_instance<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_project<T: Into<String>>(self, v: T) -> Self
pub fn set_project<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for SqlDatabasesDeleteRequest
impl Clone for SqlDatabasesDeleteRequest
Source§impl Debug for SqlDatabasesDeleteRequest
impl Debug for SqlDatabasesDeleteRequest
Source§impl Default for SqlDatabasesDeleteRequest
impl Default for SqlDatabasesDeleteRequest
Source§impl Message for SqlDatabasesDeleteRequest
impl Message for SqlDatabasesDeleteRequest
impl StructuralPartialEq for SqlDatabasesDeleteRequest
Auto Trait Implementations§
impl Freeze for SqlDatabasesDeleteRequest
impl RefUnwindSafe for SqlDatabasesDeleteRequest
impl Send for SqlDatabasesDeleteRequest
impl Sync for SqlDatabasesDeleteRequest
impl Unpin for SqlDatabasesDeleteRequest
impl UnsafeUnpin for SqlDatabasesDeleteRequest
impl UnwindSafe for SqlDatabasesDeleteRequest
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