#[non_exhaustive]pub struct BatchGetDocumentsResponse {
pub documents: Vec<Document>,
/* private fields */
}Expand description
Response message for DeveloperKnowledge.BatchGetDocuments.
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: Vec<Document>Contains the documents requested.
Implementations§
Source§impl BatchGetDocumentsResponse
impl BatchGetDocumentsResponse
Sourcepub fn set_documents<T, V>(self, v: T) -> Self
pub fn set_documents<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for BatchGetDocumentsResponse
impl Clone for BatchGetDocumentsResponse
Source§fn clone(&self) -> BatchGetDocumentsResponse
fn clone(&self) -> BatchGetDocumentsResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BatchGetDocumentsResponse
impl Debug for BatchGetDocumentsResponse
Source§impl Default for BatchGetDocumentsResponse
impl Default for BatchGetDocumentsResponse
Source§fn default() -> BatchGetDocumentsResponse
fn default() -> BatchGetDocumentsResponse
Returns the “default value” for a type. Read more
Source§impl Message for BatchGetDocumentsResponse
impl Message for BatchGetDocumentsResponse
impl StructuralPartialEq for BatchGetDocumentsResponse
Auto Trait Implementations§
impl Freeze for BatchGetDocumentsResponse
impl RefUnwindSafe for BatchGetDocumentsResponse
impl Send for BatchGetDocumentsResponse
impl Sync for BatchGetDocumentsResponse
impl Unpin for BatchGetDocumentsResponse
impl UnsafeUnpin for BatchGetDocumentsResponse
impl UnwindSafe for BatchGetDocumentsResponse
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