pub struct ReferenceInventory {
pub policy: ReferenceProjection,
pub coverage: ReferenceCoverage,
pub target_coverage: Option<ReferenceCoverage>,
pub occurrences: ReferenceCount,
pub targets: ReferenceCount,
pub page: ReferencePage,
pub records: Vec<ReferenceRecord>,
}Expand description
Independent reference output embedded alongside an outline’s content tree.
Fields§
§policy: ReferenceProjectionEffective request policy.
coverage: ReferenceCoverageSource content scan coverage.
target_coverage: Option<ReferenceCoverage>Separate local-destination validation pass, sharing the operation budget. A limited target pass does not make an already exact occurrence count inexact.
occurrences: ReferenceCountOccurrences within source root and selected target types.
targets: ReferenceCountDistinct complete typed targets, including fragments.
page: ReferencePageOccurrence-based return window.
records: Vec<ReferenceRecord>Bounded records, empty for summary/none.
Implementations§
Source§impl ReferenceInventory
impl ReferenceInventory
Sourcepub fn not_scanned(policy: ReferenceProjection) -> Self
pub fn not_scanned(policy: ReferenceProjection) -> Self
Empty, explicitly unscanned result, including tldr-only responses.
Trait Implementations§
Source§impl Clone for ReferenceInventory
impl Clone for ReferenceInventory
Source§fn clone(&self) -> ReferenceInventory
fn clone(&self) -> ReferenceInventory
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 ReferenceInventory
impl Debug for ReferenceInventory
Source§impl Default for ReferenceInventory
impl Default for ReferenceInventory
Source§impl<'de> Deserialize<'de> for ReferenceInventory
impl<'de> Deserialize<'de> for ReferenceInventory
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 ReferenceInventory
Source§impl JsonSchema for ReferenceInventory
impl JsonSchema for ReferenceInventory
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 ReferenceInventory
impl PartialEq for ReferenceInventory
Source§impl Serialize for ReferenceInventory
impl Serialize for ReferenceInventory
impl StructuralPartialEq for ReferenceInventory
Auto Trait Implementations§
impl Freeze for ReferenceInventory
impl RefUnwindSafe for ReferenceInventory
impl Send for ReferenceInventory
impl Sync for ReferenceInventory
impl Unpin for ReferenceInventory
impl UnsafeUnpin for ReferenceInventory
impl UnwindSafe for ReferenceInventory
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