pub struct DocumentCollectionResponse {
pub warnings: Option<Box<WarningCollection>>,
pub problems: Option<Vec<Problem>>,
pub documents: Vec<Document>,
pub _links: Option<Vec<Link>>,
}Fields§
§warnings: Option<Box<WarningCollection>>§problems: Option<Vec<Problem>>§documents: Vec<Document>§_links: Option<Vec<Link>>Java Property Name: ‘links’
Implementations§
Source§impl DocumentCollectionResponse
impl DocumentCollectionResponse
pub fn new(documents: Vec<Document>) -> DocumentCollectionResponse
Trait Implementations§
Source§impl Clone for DocumentCollectionResponse
impl Clone for DocumentCollectionResponse
Source§fn clone(&self) -> DocumentCollectionResponse
fn clone(&self) -> DocumentCollectionResponse
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 DocumentCollectionResponse
impl Debug for DocumentCollectionResponse
Source§impl Default for DocumentCollectionResponse
impl Default for DocumentCollectionResponse
Source§fn default() -> DocumentCollectionResponse
fn default() -> DocumentCollectionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentCollectionResponse
impl<'de> Deserialize<'de> for DocumentCollectionResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for DocumentCollectionResponse
Auto Trait Implementations§
impl Freeze for DocumentCollectionResponse
impl RefUnwindSafe for DocumentCollectionResponse
impl Send for DocumentCollectionResponse
impl Sync for DocumentCollectionResponse
impl Unpin for DocumentCollectionResponse
impl UnwindSafe for DocumentCollectionResponse
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