pub struct ResolutionResult {
pub loaded: Vec<DocumentId>,
pub errors: Vec<SchemaError>,
pub import_errors: Vec<SchemaError>,
pub skipped: Vec<String>,
}Expand description
Result of resolving all directives in a schema
Fields§
§loaded: Vec<DocumentId>Document IDs of successfully loaded schemas
errors: Vec<SchemaError>Errors from include/redefine/override directives
import_errors: Vec<SchemaError>Errors from xs:import directives
skipped: Vec<String>Schemas that were already loaded (circular references)
Implementations§
Trait Implementations§
Source§impl Debug for ResolutionResult
impl Debug for ResolutionResult
Source§impl Default for ResolutionResult
impl Default for ResolutionResult
Source§fn default() -> ResolutionResult
fn default() -> ResolutionResult
Returns the “default value” for a type. Read more
Source§impl From<&ResolutionResult> for DirectiveStats
impl From<&ResolutionResult> for DirectiveStats
Source§fn from(result: &ResolutionResult) -> Self
fn from(result: &ResolutionResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ResolutionResult
impl !UnwindSafe for ResolutionResult
impl Freeze for ResolutionResult
impl Send for ResolutionResult
impl Sync for ResolutionResult
impl Unpin for ResolutionResult
impl UnsafeUnpin for ResolutionResult
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