#[non_exhaustive]pub struct DeleteDocumentRequest {
pub name: String,
/* private fields */
}Available on crate feature
document-service only.Expand description
Request message for DocumentService.DeleteDocument method.
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. Full resource name of
Document, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}.
If the caller does not have permission to delete the
Document, regardless of whether
or not it exists, a PERMISSION_DENIED error is returned.
If the Document to delete does
not exist, a NOT_FOUND error is returned.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteDocumentRequest
impl Clone for DeleteDocumentRequest
Source§fn clone(&self) -> DeleteDocumentRequest
fn clone(&self) -> DeleteDocumentRequest
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 DeleteDocumentRequest
impl Debug for DeleteDocumentRequest
Source§impl Default for DeleteDocumentRequest
impl Default for DeleteDocumentRequest
Source§fn default() -> DeleteDocumentRequest
fn default() -> DeleteDocumentRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteDocumentRequest
impl Message for DeleteDocumentRequest
Source§impl PartialEq for DeleteDocumentRequest
impl PartialEq for DeleteDocumentRequest
impl StructuralPartialEq for DeleteDocumentRequest
Auto Trait Implementations§
impl Freeze for DeleteDocumentRequest
impl RefUnwindSafe for DeleteDocumentRequest
impl Send for DeleteDocumentRequest
impl Sync for DeleteDocumentRequest
impl Unpin for DeleteDocumentRequest
impl UnwindSafe for DeleteDocumentRequest
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