#[non_exhaustive]pub struct BatchGetDocumentsMetadataResponse {
pub documents_metadata: Vec<DocumentMetadata>,
/* private fields */
}Available on crate feature
document-service only.Expand description
Response message for DocumentService.BatchGetDocumentsMetadata 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.documents_metadata: Vec<DocumentMetadata>The metadata of the Documents.
Implementations§
Source§impl BatchGetDocumentsMetadataResponse
impl BatchGetDocumentsMetadataResponse
pub fn new() -> Self
Sourcepub fn set_documents_metadata<T, V>(self, v: T) -> Self
pub fn set_documents_metadata<T, V>(self, v: T) -> Self
Sets the value of documents_metadata.
§Example
ⓘ
use google_cloud_discoveryengine_v1::model::batch_get_documents_metadata_response::DocumentMetadata;
let x = BatchGetDocumentsMetadataResponse::new()
.set_documents_metadata([
DocumentMetadata::default()/* use setters */,
DocumentMetadata::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for BatchGetDocumentsMetadataResponse
impl Clone for BatchGetDocumentsMetadataResponse
Source§fn clone(&self) -> BatchGetDocumentsMetadataResponse
fn clone(&self) -> BatchGetDocumentsMetadataResponse
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 Default for BatchGetDocumentsMetadataResponse
impl Default for BatchGetDocumentsMetadataResponse
Source§fn default() -> BatchGetDocumentsMetadataResponse
fn default() -> BatchGetDocumentsMetadataResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for BatchGetDocumentsMetadataResponse
impl PartialEq for BatchGetDocumentsMetadataResponse
Source§fn eq(&self, other: &BatchGetDocumentsMetadataResponse) -> bool
fn eq(&self, other: &BatchGetDocumentsMetadataResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BatchGetDocumentsMetadataResponse
Auto Trait Implementations§
impl Freeze for BatchGetDocumentsMetadataResponse
impl RefUnwindSafe for BatchGetDocumentsMetadataResponse
impl Send for BatchGetDocumentsMetadataResponse
impl Sync for BatchGetDocumentsMetadataResponse
impl Unpin for BatchGetDocumentsMetadataResponse
impl UnwindSafe for BatchGetDocumentsMetadataResponse
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