Struct bonsaidb_core::networking::List
source · pub struct List {
pub database: String,
pub collection: CollectionName,
pub ids: Range<DocumentId>,
pub order: Sort,
pub limit: Option<u32>,
}
Expand description
Retrieve multiple documents.
Fields§
§database: String
The name of the database.
collection: CollectionName
The collection of the documents.
ids: Range<DocumentId>
The range of ids to list.
order: Sort
The order for the query into the collection.
limit: Option<u32>
The maximum number of results to return.
Trait Implementations§
source§impl<'de> Deserialize<'de> for List
impl<'de> Deserialize<'de> for List
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
Auto Trait Implementations§
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
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