#[non_exhaustive]pub enum SignificanceFacetInput {
Unfaceted,
Fixed(FacetCell),
Values(Arc<[FacetCell]>),
Split(FacetBinding),
}Expand description
The actual facet selection and its original relation to result rows.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unfaceted
No facet restriction.
Fixed(FacetCell)
One explicitly broadcast facet address.
Values(Arc<[FacetCell]>)
A native sequence of facet addresses.
Split(FacetBinding)
Actual per-result source variables selecting the facets.
Trait Implementations§
Source§impl Clone for SignificanceFacetInput
impl Clone for SignificanceFacetInput
Source§fn clone(&self) -> SignificanceFacetInput
fn clone(&self) -> SignificanceFacetInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignificanceFacetInput
impl Debug for SignificanceFacetInput
Source§impl PartialEq for SignificanceFacetInput
impl PartialEq for SignificanceFacetInput
impl SignificanceFacets for SignificanceFacetInput
impl StructuralPartialEq for SignificanceFacetInput
Auto Trait Implementations§
impl Forget for SignificanceFacetInput
impl Freeze for SignificanceFacetInputwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<[u8]> is !null: Freeze,
PhantomData<ArcInner<[u8]>>: Freeze,
PhantomData<RawKey>: Freeze,
*const RawKey is !null: Freeze,
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
*const ArcInner<[FacetCell]> is !null: Freeze,
PhantomData<ArcInner<[FacetCell]>>: Freeze,
*const ArcInner<[String]> is !null: Freeze,
PhantomData<ArcInner<[String]>>: Freeze,
*const ArcInner<[u32]> is !null: Freeze,
PhantomData<ArcInner<[u32]>>: Freeze,
*const ArcInner<[u64]> is !null: Freeze,
PhantomData<ArcInner<[u64]>>: Freeze,
*const ArcInner<KeyValues> is !null: Freeze,
PhantomData<ArcInner<KeyValues>>: Freeze,
*const ArcInner<(RawKey, Arc<str>)> is !null: Freeze,
PhantomData<ArcInner<(RawKey, Arc<str>)>>: Freeze,
*const ArcInner<SourceInfo> is !null: Freeze,
PhantomData<ArcInner<SourceInfo>>: Freeze,
*const ArcInner<SourceProjection> is !null: Freeze,
PhantomData<ArcInner<SourceProjection>>: Freeze,
*const ArcInner<[Option<u32>]> is !null: Freeze,
PhantomData<ArcInner<[Option<u32>]>>: Freeze,
*const ArcInner<[RawKey]> is !null: Freeze,
PhantomData<ArcInner<[RawKey]>>: Freeze,
impl Move for SignificanceFacetInput
impl RefUnwindSafe for SignificanceFacetInput
impl Send for SignificanceFacetInputwhere
RawVecInner: Send,
Arc<[u8]>: Send,
BoxRaw<RawKey>: Send,
Arc<str>: Send,
Arc<[FacetCell]>: Send,
Arc<[String]>: Send,
Arc<[u32]>: Send,
Arc<[u64]>: Send,
Arc<KeyValues>: Send,
Arc<(RawKey, Arc<str>)>: Send,
Arc<SourceInfo>: Send,
Arc<SourceProjection>: Send,
Arc<[Option<u32>]>: Send,
Arc<[RawKey]>: Send,
impl Sync for SignificanceFacetInputwhere
RawVecInner: Sync,
Arc<[u8]>: Sync,
BoxRaw<RawKey>: Sync,
Arc<str>: Sync,
Arc<[FacetCell]>: Sync,
Arc<[String]>: Sync,
Arc<[u32]>: Sync,
Arc<[u64]>: Sync,
Arc<KeyValues>: Sync,
Arc<(RawKey, Arc<str>)>: Sync,
Arc<SourceInfo>: Sync,
Arc<SourceProjection>: Sync,
Arc<[Option<u32>]>: Sync,
Arc<[RawKey]>: Sync,
impl Unpin for SignificanceFacetInputwhere
*const u8 is !null: Unpin,
Arc<[u8]>: Unpin,
Box<RawKey>: Unpin,
Arc<str>: Unpin,
Arc<[FacetCell]>: Unpin,
Arc<[String]>: Unpin,
Arc<[u32]>: Unpin,
Arc<[u64]>: Unpin,
Arc<KeyValues>: Unpin,
Arc<(RawKey, Arc<str>)>: Unpin,
Arc<SourceInfo>: Unpin,
Arc<SourceProjection>: Unpin,
Arc<[Option<u32>]>: Unpin,
Arc<[RawKey]>: Unpin,
impl UnsafeUnpin for SignificanceFacetInputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<[u8]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[u8]>>: UnsafeUnpin,
PhantomData<RawKey>: UnsafeUnpin,
*const RawKey is !null: UnsafeUnpin,
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
*const ArcInner<[FacetCell]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[FacetCell]>>: UnsafeUnpin,
*const ArcInner<[String]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[String]>>: UnsafeUnpin,
*const ArcInner<[u32]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[u32]>>: UnsafeUnpin,
*const ArcInner<[u64]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[u64]>>: UnsafeUnpin,
*const ArcInner<KeyValues> is !null: UnsafeUnpin,
PhantomData<ArcInner<KeyValues>>: UnsafeUnpin,
*const ArcInner<(RawKey, Arc<str>)> is !null: UnsafeUnpin,
PhantomData<ArcInner<(RawKey, Arc<str>)>>: UnsafeUnpin,
*const ArcInner<SourceInfo> is !null: UnsafeUnpin,
PhantomData<ArcInner<SourceInfo>>: UnsafeUnpin,
*const ArcInner<SourceProjection> is !null: UnsafeUnpin,
PhantomData<ArcInner<SourceProjection>>: UnsafeUnpin,
*const ArcInner<[Option<u32>]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[Option<u32>]>>: UnsafeUnpin,
*const ArcInner<[RawKey]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[RawKey]>>: UnsafeUnpin,
impl UnwindSafe for SignificanceFacetInputwhere
RawVecInner: UnwindSafe,
Arc<[u8]>: UnwindSafe,
BoxRaw<RawKey>: UnwindSafe,
Arc<str>: UnwindSafe,
Arc<[FacetCell]>: UnwindSafe,
Arc<[String]>: UnwindSafe,
Arc<[u32]>: UnwindSafe,
Arc<[u64]>: UnwindSafe,
Arc<KeyValues>: UnwindSafe,
Arc<(RawKey, Arc<str>)>: UnwindSafe,
Arc<SourceInfo>: UnwindSafe,
Arc<SourceProjection>: UnwindSafe,
Arc<[Option<u32>]>: UnwindSafe,
Arc<[RawKey]>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.