Struct cargo::core::manifest::DelayedWarning
source · pub struct DelayedWarning {
pub message: String,
pub is_critical: bool,
}
Expand description
When parsing Cargo.toml
, some warnings should silenced
if the manifest comes from a dependency. ManifestWarning
allows this delayed emission of warnings.
Fields§
§message: String
§is_critical: bool
Trait Implementations§
source§impl Clone for DelayedWarning
impl Clone for DelayedWarning
source§fn clone(&self) -> DelayedWarning
fn clone(&self) -> DelayedWarning
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more