pub struct DiagnosticsOutput {
pub schema_version: &'static str,
pub document_version: u64,
pub diagnostics: Vec<Diagnostic>,
}Expand description
Compiler diagnostics for one caller-owned document version.
Fields§
§schema_version: &'static strPortable schema version.
document_version: u64Document version supplied by the caller.
diagnostics: Vec<Diagnostic>Ordered compiler diagnostics.
Trait Implementations§
Source§impl Clone for DiagnosticsOutput
impl Clone for DiagnosticsOutput
Source§fn clone(&self) -> DiagnosticsOutput
fn clone(&self) -> DiagnosticsOutput
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 DiagnosticsOutput
impl Debug for DiagnosticsOutput
impl Eq for DiagnosticsOutput
Source§impl PartialEq for DiagnosticsOutput
impl PartialEq for DiagnosticsOutput
impl StructuralPartialEq for DiagnosticsOutput
Auto Trait Implementations§
impl Freeze for DiagnosticsOutput
impl RefUnwindSafe for DiagnosticsOutput
impl Send for DiagnosticsOutput
impl Sync for DiagnosticsOutput
impl Unpin for DiagnosticsOutput
impl UnsafeUnpin for DiagnosticsOutput
impl UnwindSafe for DiagnosticsOutput
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