pub struct ResultDetails {
pub form_ids: Vec<FormID>,
pub result_type: ResultType,
pub errors: Vec<String>,
}Fields§
§form_ids: Vec<FormID>Typically you might store what FormIDs were involved in the operation, or leave it empty if not relevant
result_type: ResultTypeWhether the operation succeeded, failed, etc.
errors: Vec<String>List of error or warning messages
Implementations§
Trait Implementations§
Source§impl Clone for ResultDetails
impl Clone for ResultDetails
Source§fn clone(&self) -> ResultDetails
fn clone(&self) -> ResultDetails
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 ResultDetails
impl RefUnwindSafe for ResultDetails
impl Send for ResultDetails
impl Sync for ResultDetails
impl Unpin for ResultDetails
impl UnwindSafe for ResultDetails
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