#[non_exhaustive]pub struct GetDocumentRequest {
pub name: String,
/* private fields */
}Available on crate feature
document-service only.Expand description
Request message for DocumentService.GetDocument 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 access the
Document, regardless of whether
or not it exists, a PERMISSION_DENIED error is returned.
If the requested Document does
not exist, a NOT_FOUND error is returned.
Implementations§
Trait Implementations§
Source§impl Clone for GetDocumentRequest
impl Clone for GetDocumentRequest
Source§fn clone(&self) -> GetDocumentRequest
fn clone(&self) -> GetDocumentRequest
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 GetDocumentRequest
impl Debug for GetDocumentRequest
Source§impl Default for GetDocumentRequest
impl Default for GetDocumentRequest
Source§fn default() -> GetDocumentRequest
fn default() -> GetDocumentRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetDocumentRequest
impl Message for GetDocumentRequest
Source§impl PartialEq for GetDocumentRequest
impl PartialEq for GetDocumentRequest
impl StructuralPartialEq for GetDocumentRequest
Auto Trait Implementations§
impl Freeze for GetDocumentRequest
impl RefUnwindSafe for GetDocumentRequest
impl Send for GetDocumentRequest
impl Sync for GetDocumentRequest
impl Unpin for GetDocumentRequest
impl UnwindSafe for GetDocumentRequest
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