Struct swc_common::plugin::diagnostics::PluginCorePkgDiagnostics
source · [−]pub struct PluginCorePkgDiagnostics {
pub pkg_version: String,
pub git_sha: String,
pub cargo_features: String,
pub ast_schema_version: u32,
}
Expand description
A serializable, wrapped struct for the diagnostics information included in plugin binaries. TODO: Must implement bytecheck with forward-compatible schema changes to prevent handshake failure.
Fields
pkg_version: String
git_sha: String
cargo_features: String
ast_schema_version: u32
Trait Implementations
sourceimpl Clone for PluginCorePkgDiagnostics
impl Clone for PluginCorePkgDiagnostics
sourcefn clone(&self) -> PluginCorePkgDiagnostics
fn clone(&self) -> PluginCorePkgDiagnostics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PluginCorePkgDiagnostics
impl Debug for PluginCorePkgDiagnostics
sourceimpl PartialEq<PluginCorePkgDiagnostics> for PluginCorePkgDiagnostics
impl PartialEq<PluginCorePkgDiagnostics> for PluginCorePkgDiagnostics
sourcefn eq(&self, other: &PluginCorePkgDiagnostics) -> bool
fn eq(&self, other: &PluginCorePkgDiagnostics) -> bool
impl Eq for PluginCorePkgDiagnostics
impl StructuralEq for PluginCorePkgDiagnostics
impl StructuralPartialEq for PluginCorePkgDiagnostics
Auto Trait Implementations
impl RefUnwindSafe for PluginCorePkgDiagnostics
impl Send for PluginCorePkgDiagnostics
impl Sync for PluginCorePkgDiagnostics
impl Unpin for PluginCorePkgDiagnostics
impl UnwindSafe for PluginCorePkgDiagnostics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more