pub struct WarningCollection {
pub warnings: Vec<Warning>,
}Expand description
WarningCollection : List of warnings. This structure has been deprecated and replaced by the problems array.
Fields§
§warnings: Vec<Warning>Implementations§
Source§impl WarningCollection
impl WarningCollection
Sourcepub fn new(warnings: Vec<Warning>) -> WarningCollection
pub fn new(warnings: Vec<Warning>) -> WarningCollection
List of warnings. This structure has been deprecated and replaced by the problems array.
Trait Implementations§
Source§impl Clone for WarningCollection
impl Clone for WarningCollection
Source§fn clone(&self) -> WarningCollection
fn clone(&self) -> WarningCollection
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 moreSource§impl Debug for WarningCollection
impl Debug for WarningCollection
Source§impl Default for WarningCollection
impl Default for WarningCollection
Source§fn default() -> WarningCollection
fn default() -> WarningCollection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WarningCollection
impl<'de> Deserialize<'de> for WarningCollection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WarningCollection
impl PartialEq for WarningCollection
Source§impl Serialize for WarningCollection
impl Serialize for WarningCollection
impl StructuralPartialEq for WarningCollection
Auto Trait Implementations§
impl Freeze for WarningCollection
impl RefUnwindSafe for WarningCollection
impl Send for WarningCollection
impl Sync for WarningCollection
impl Unpin for WarningCollection
impl UnwindSafe for WarningCollection
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