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