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<List, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<List, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for List
impl Serialize for List
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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