pub struct CatalogCoverage {
pub scope_total: u32,
pub manual_sections: Vec<String>,
pub markdown_sources: Vec<String>,
pub personal_documents: bool,
}Expand description
Indexed namespaces available to one catalog query.
scope_total is counted after applying the document-family, source, and
manual-section selectors but before applying the name pattern. It lets a
consumer distinguish an empty match set from an unindexed query scope.
Fields§
§scope_total: u32Documents inside the selected scope before name matching.
manual_sections: Vec<String>Exact native manual sections present anywhere in the local index.
markdown_sources: Vec<String>Configured Markdown source names that currently contribute documents.
personal_documents: boolWhether the personal documents tree currently contributes documents.
Trait Implementations§
Source§impl Clone for CatalogCoverage
impl Clone for CatalogCoverage
Source§fn clone(&self) -> CatalogCoverage
fn clone(&self) -> CatalogCoverage
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 CatalogCoverage
impl Debug for CatalogCoverage
Source§impl Default for CatalogCoverage
impl Default for CatalogCoverage
Source§fn default() -> CatalogCoverage
fn default() -> CatalogCoverage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogCoverage
impl<'de> Deserialize<'de> for CatalogCoverage
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 CatalogCoverage
Source§impl JsonSchema for CatalogCoverage
impl JsonSchema for CatalogCoverage
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 CatalogCoverage
impl PartialEq for CatalogCoverage
Source§impl Serialize for CatalogCoverage
impl Serialize for CatalogCoverage
impl StructuralPartialEq for CatalogCoverage
Auto Trait Implementations§
impl Freeze for CatalogCoverage
impl RefUnwindSafe for CatalogCoverage
impl Send for CatalogCoverage
impl Sync for CatalogCoverage
impl Unpin for CatalogCoverage
impl UnsafeUnpin for CatalogCoverage
impl UnwindSafe for CatalogCoverage
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