pub struct ResolvedDocumentScope {
pub query: DocumentScope,
pub documents: Vec<ScopedDocument>,
pub edges: Vec<DocumentEdge>,
pub frontier: Vec<DocumentFrontier>,
pub unresolved: Vec<UnresolvedDocument>,
}Expand description
Logical graph produced before applying a projection.
Fields§
§query: DocumentScopeOriginal normalized scope request.
documents: Vec<ScopedDocument>Distinct documents in deterministic breadth-first order.
edges: Vec<DocumentEdge>Successfully resolved typed edges in source order.
frontier: Vec<DocumentFrontier>Typed outbound links excluded by depth, document, or content limits.
unresolved: Vec<UnresolvedDocument>Seeds and edges that could not resolve to a readable document.
Trait Implementations§
Source§impl Clone for ResolvedDocumentScope
impl Clone for ResolvedDocumentScope
Source§fn clone(&self) -> ResolvedDocumentScope
fn clone(&self) -> ResolvedDocumentScope
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 ResolvedDocumentScope
impl Debug for ResolvedDocumentScope
Source§impl<'de> Deserialize<'de> for ResolvedDocumentScope
impl<'de> Deserialize<'de> for ResolvedDocumentScope
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 ResolvedDocumentScope
Source§impl JsonSchema for ResolvedDocumentScope
impl JsonSchema for ResolvedDocumentScope
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 ResolvedDocumentScope
impl PartialEq for ResolvedDocumentScope
Source§impl Serialize for ResolvedDocumentScope
impl Serialize for ResolvedDocumentScope
impl StructuralPartialEq for ResolvedDocumentScope
Auto Trait Implementations§
impl Freeze for ResolvedDocumentScope
impl RefUnwindSafe for ResolvedDocumentScope
impl Send for ResolvedDocumentScope
impl Sync for ResolvedDocumentScope
impl Unpin for ResolvedDocumentScope
impl UnsafeUnpin for ResolvedDocumentScope
impl UnwindSafe for ResolvedDocumentScope
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