pub struct Resolution {
pub ok: bool,
pub resolved: Resolved,
pub text: String,
pub diagnostics: Vec<Diagnostic>,
pub root: Reading,
}Expand description
A resolution’s outcome.
Fields§
§ok: boolNo error: a successful resolution, which a registry may deliver.
resolved: Resolved§text: StringThe agent text, instruction-text/1.
diagnostics: Vec<Diagnostic>§root: ReadingThe document’s own reading: its identities, parameters and lines.
Trait Implementations§
Source§impl Clone for Resolution
impl Clone for Resolution
Auto Trait Implementations§
impl Forget for Resolution
impl Freeze for Resolution
impl Move for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnsafeUnpin for Resolution
impl UnwindSafe for Resolution
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