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: boolTrait Implementations§
Source§impl Clone for DelayedWarning
impl Clone for DelayedWarning
Source§fn clone(&self) -> DelayedWarning
fn clone(&self) -> DelayedWarning
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DelayedWarning
impl RefUnwindSafe for DelayedWarning
impl Send for DelayedWarning
impl Sync for DelayedWarning
impl Unpin for DelayedWarning
impl UnsafeUnpin for DelayedWarning
impl UnwindSafe for DelayedWarning
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