pub struct EntityMeta {
pub entity_name: &'static str,
pub from: &'static str,
pub base_where: Option<&'static str>,
pub fixed_having: Option<&'static str>,
pub distinct: bool,
pub fields: &'static [FieldMeta],
pub default_order: &'static [OrderMeta],
pub stable_order: &'static [OrderMeta],
pub limits: EntityLimits,
pub schema_fingerprint: u64,
}Expand description
Static metadata generated for a search entity.
Fields§
§entity_name: &'static str§from: &'static str§base_where: Option<&'static str>§fixed_having: Option<&'static str>§distinct: bool§fields: &'static [FieldMeta]§default_order: &'static [OrderMeta]§stable_order: &'static [OrderMeta]§limits: EntityLimits§schema_fingerprint: u64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EntityMeta
impl RefUnwindSafe for EntityMeta
impl Send for EntityMeta
impl Sync for EntityMeta
impl Unpin for EntityMeta
impl UnsafeUnpin for EntityMeta
impl UnwindSafe for EntityMeta
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