pub struct Feedback {
pub field: &'static str,
pub messages: Vec<Message>,
}Expand description
Feedback struct contains target field name and multiple Message objects if the context is negative (otherwise it will be an empty vector).
Fields§
§field: &'static str§messages: Vec<Message>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Feedback
impl RefUnwindSafe for Feedback
impl Send for Feedback
impl Sync for Feedback
impl Unpin for Feedback
impl UnwindSafe for Feedback
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