#[non_exhaustive]pub struct DeleteDatabaseRequest {
pub name: String,
pub etag: String,
/* private fields */
}Expand description
The request for FirestoreAdmin.DeleteDatabase.
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: StringRequired. A name of the form
projects/{project_id}/databases/{database_id}
etag: StringThe current etag of the Database. If an etag is provided and does not match the current etag of the database, deletion will be blocked and a FAILED_PRECONDITION error will be returned.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteDatabaseRequest
impl Clone for DeleteDatabaseRequest
Source§fn clone(&self) -> DeleteDatabaseRequest
fn clone(&self) -> DeleteDatabaseRequest
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 DeleteDatabaseRequest
impl Debug for DeleteDatabaseRequest
Source§impl Default for DeleteDatabaseRequest
impl Default for DeleteDatabaseRequest
Source§fn default() -> DeleteDatabaseRequest
fn default() -> DeleteDatabaseRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteDatabaseRequest
impl Message for DeleteDatabaseRequest
Source§impl PartialEq for DeleteDatabaseRequest
impl PartialEq for DeleteDatabaseRequest
impl StructuralPartialEq for DeleteDatabaseRequest
Auto Trait Implementations§
impl Freeze for DeleteDatabaseRequest
impl RefUnwindSafe for DeleteDatabaseRequest
impl Send for DeleteDatabaseRequest
impl Sync for DeleteDatabaseRequest
impl Unpin for DeleteDatabaseRequest
impl UnwindSafe for DeleteDatabaseRequest
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