pub struct CompilationResult {
pub diagnostics: Vec<Diagnostic>,
pub rust_output: Option<String>,
pub build_manifest: Option<Value>,
pub resolved_libraries: Vec<LibraryProvenance>,
}Expand description
A complete compilation result including optional reliability provenance.
Fields§
§diagnostics: Vec<Diagnostic>§rust_output: Option<String>§build_manifest: Option<Value>Reliability build manifest, present when the document declares the reliability supplement and external sources were resolved.
resolved_libraries: Vec<LibraryProvenance>Identity of every library actually resolved for this build (name,
version, built-in/optional/user), independent of the reliability
feature — a document using libraries: gets this without needing
any optional feature enabled.
Trait Implementations§
Source§impl Clone for CompilationResult
impl Clone for CompilationResult
Source§fn clone(&self) -> CompilationResult
fn clone(&self) -> CompilationResult
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 moreAuto Trait Implementations§
impl Freeze for CompilationResult
impl RefUnwindSafe for CompilationResult
impl Send for CompilationResult
impl Sync for CompilationResult
impl Unpin for CompilationResult
impl UnsafeUnpin for CompilationResult
impl UnwindSafe for CompilationResult
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