pub struct ManifestSearchConfig {
pub text: Vec<String>,
pub facets: Vec<String>,
pub sortable: Vec<String>,
}Expand description
Per-entity search declaration. Lives on the manifest so both the storage layer (schema push) and the runtime (write-time maintenance
- query endpoints) read the same shape.
Kept in pylon-kernel intentionally — other crates depend on kernel
but not on each other, so this is the only place every layer can
agree on the config surface.
Fields§
§text: Vec<String>§facets: Vec<String>§sortable: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for ManifestSearchConfig
impl Clone for ManifestSearchConfig
Source§fn clone(&self) -> ManifestSearchConfig
fn clone(&self) -> ManifestSearchConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ManifestSearchConfig
impl Debug for ManifestSearchConfig
Source§impl Default for ManifestSearchConfig
impl Default for ManifestSearchConfig
Source§fn default() -> ManifestSearchConfig
fn default() -> ManifestSearchConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ManifestSearchConfig
impl<'de> Deserialize<'de> for ManifestSearchConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ManifestSearchConfig
impl PartialEq for ManifestSearchConfig
Source§impl Serialize for ManifestSearchConfig
impl Serialize for ManifestSearchConfig
impl Eq for ManifestSearchConfig
impl StructuralPartialEq for ManifestSearchConfig
Auto Trait Implementations§
impl Freeze for ManifestSearchConfig
impl RefUnwindSafe for ManifestSearchConfig
impl Send for ManifestSearchConfig
impl Sync for ManifestSearchConfig
impl Unpin for ManifestSearchConfig
impl UnsafeUnpin for ManifestSearchConfig
impl UnwindSafe for ManifestSearchConfig
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