pub struct DocList {
pub total_rows: u32,
pub offset: Option<u32>,
pub rows: Vec<DocListEntry>,
}
Fields
total_rows: u32
offset: Option<u32>
rows: Vec<DocListEntry>
Implementations
sourceimpl DocList
impl DocList
pub fn rows(&self) -> impl Iterator<Item = &Doc>
pub fn into_typed_records<T>(self) -> Vec<Result<Record<T>, DecodingError>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
where
T: TypedValue,
A: Allocator,
pub fn into_typed_docs<T: DeserializeOwned>(self) -> Result<Vec<T>>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for DocList
impl<'de> Deserialize<'de> for DocList
sourcefn 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 DocList
impl Send for DocList
impl Sync for DocList
impl Unpin for DocList
impl UnwindSafe for DocList
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.fn mapped<U, F, A>(self, f: F) -> SmallVec<A>where
F: FnMut(T) -> U,
A: Array<Item = U>,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be
Self