pub struct CatalogQuery {
pub pattern: Option<String>,
pub syntax: SearchSyntax,
pub case: SearchCase,
pub kind: Option<CatalogDocumentKind>,
pub source: Option<String>,
pub manual_section: Option<String>,
pub limit: u32,
pub offset: u32,
}Expand description
Bounded filtering and pagination shared by CLI, TUI, and MCP discovery.
Fields§
§pattern: Option<String>Optional name or catalog-path pattern.
syntax: SearchSyntaxPattern language used by Self::pattern.
case: SearchCaseCase-matching policy.
kind: Option<CatalogDocumentKind>Optional document-family restriction.
source: Option<String>Optional configured Markdown source name.
manual_section: Option<String>Optional native manual category such as 1 or 3p.
limit: u32Maximum rows returned after filtering.
offset: u32Number of matching rows skipped before collecting results.
Trait Implementations§
Source§impl Clone for CatalogQuery
impl Clone for CatalogQuery
Source§fn clone(&self) -> CatalogQuery
fn clone(&self) -> CatalogQuery
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 CatalogQuery
impl Debug for CatalogQuery
Source§impl Default for CatalogQuery
impl Default for CatalogQuery
Source§impl<'de> Deserialize<'de> for CatalogQuery
impl<'de> Deserialize<'de> for CatalogQuery
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
impl Eq for CatalogQuery
Source§impl JsonSchema for CatalogQuery
impl JsonSchema for CatalogQuery
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CatalogQuery
impl PartialEq for CatalogQuery
Source§impl Serialize for CatalogQuery
impl Serialize for CatalogQuery
impl StructuralPartialEq for CatalogQuery
Auto Trait Implementations§
impl Freeze for CatalogQuery
impl RefUnwindSafe for CatalogQuery
impl Send for CatalogQuery
impl Sync for CatalogQuery
impl Unpin for CatalogQuery
impl UnsafeUnpin for CatalogQuery
impl UnwindSafe for CatalogQuery
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