#[non_exhaustive]pub struct DeleteDocumentRequest {
pub name: String,
/* private fields */
}Available on crate feature
documents only.Expand description
Request message for Documents.DeleteDocument.
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. The name of the document to delete.
Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>.
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