pub struct UnifiedSearchResults {
pub interpreted: Vec<InterpretedFilter>,
pub people: Vec<PersonHit>,
pub albums: Vec<AlbumHit>,
pub places: Vec<PlaceHit>,
pub photos: Vec<SearchResult>,
pub photos_grouped: Vec<SearchResultGroup>,
pub photo_ids: Vec<i64>,
pub has_more: bool,
}Expand description
Unified search results across all entity types.
Fields§
§interpreted: Vec<InterpretedFilter>§people: Vec<PersonHit>§albums: Vec<AlbumHit>§places: Vec<PlaceHit>§photos: Vec<SearchResult>§photos_grouped: Vec<SearchResultGroup>§photo_ids: Vec<i64>Flat list for cull mode.
has_more: boolTrue when more photo pages exist beyond this one (keyset/offset
pagination — see search_unified_page).
Trait Implementations§
Source§impl Clone for UnifiedSearchResults
impl Clone for UnifiedSearchResults
Source§impl Debug for UnifiedSearchResults
impl Debug for UnifiedSearchResults
Auto Trait Implementations§
impl Freeze for UnifiedSearchResults
impl RefUnwindSafe for UnifiedSearchResults
impl Send for UnifiedSearchResults
impl Sync for UnifiedSearchResults
impl Unpin for UnifiedSearchResults
impl UnsafeUnpin for UnifiedSearchResults
impl UnwindSafe for UnifiedSearchResults
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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