pub struct WithWarnings<A> {
pub value: A,
pub warnings: Vec<String>,
}Expand description
An object with warnings accumulated while creating this object.
Fields§
§value: A§warnings: Vec<String>Implementations§
Auto Trait Implementations§
impl<A> Freeze for WithWarnings<A>where
A: Freeze,
impl<A> RefUnwindSafe for WithWarnings<A>where
A: RefUnwindSafe,
impl<A> Send for WithWarnings<A>where
A: Send,
impl<A> Sync for WithWarnings<A>where
A: Sync,
impl<A> Unpin for WithWarnings<A>where
A: Unpin,
impl<A> UnwindSafe for WithWarnings<A>where
A: UnwindSafe,
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