pub struct DocumentFromVersions<'a, 'doc> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'a, 'doc> Debug for DocumentFromVersions<'a, 'doc>
impl<'a, 'doc> Debug for DocumentFromVersions<'a, 'doc>
Source§impl<'doc> Document<'doc> for DocumentFromVersions<'_, 'doc>
impl<'doc> Document<'doc> for DocumentFromVersions<'_, 'doc>
Source§fn iter_top_level_fields(
&self,
) -> impl Iterator<Item = Result<(&'doc str, &'doc RawValue)>>
fn iter_top_level_fields( &self, ) -> impl Iterator<Item = Result<(&'doc str, &'doc RawValue)>>
Iterate over all top-level fields of the document, returning their name and raw JSON value. Read more
Source§fn vectors_field(&self) -> Result<Option<&'doc RawValue>>
fn vectors_field(&self) -> Result<Option<&'doc RawValue>>
Returns the unparsed value of the
_vectors field from the document data. Read moreSource§fn geo_field(&self) -> Result<Option<&'doc RawValue>>
fn geo_field(&self) -> Result<Option<&'doc RawValue>>
Returns the unparsed value of the
_geo field from the document data. Read moreSource§fn top_level_fields_count(&self) -> usize
fn top_level_fields_count(&self) -> usize
Number of top level fields, excluding
_vectors and _geoAuto Trait Implementations§
impl<'a, 'doc> Freeze for DocumentFromVersions<'a, 'doc>
impl<'a, 'doc> !RefUnwindSafe for DocumentFromVersions<'a, 'doc>
impl<'a, 'doc> !Send for DocumentFromVersions<'a, 'doc>
impl<'a, 'doc> !Sync for DocumentFromVersions<'a, 'doc>
impl<'a, 'doc> Unpin for DocumentFromVersions<'a, 'doc>
impl<'a, 'doc> !UnwindSafe for DocumentFromVersions<'a, 'doc>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more