Trait vector_config::schema::parser::query::QueryableSchema

source ·
pub trait QueryableSchema {
    // Required methods
    fn schema_type(&self) -> SchemaType<'_>;
    fn description(&self) -> Option<&str>;
    fn title(&self) -> Option<&str>;
    fn get_attributes(&self, key: &str) -> Option<OneOrMany<CustomAttribute>>;
    fn get_attribute(
        &self,
        key: &str,
    ) -> Result<Option<CustomAttribute>, QueryError>;
    fn has_flag_attribute(&self, key: &str) -> Result<bool, QueryError>;
}

Required Methods§

Implementations on Foreign Types§

source§

impl<'a, T> QueryableSchema for &'a T
where T: QueryableSchema,

Implementors§