pub struct ParseErrors {
pub issues: Vec<ParseError>,
}Expand description
Several ParseError values (e.g. future “validate all fields” paths).
Fields§
§issues: Vec<ParseError>Collected issues in stable order.
Implementations§
Source§impl ParseErrors
impl ParseErrors
Sourcepub fn new(issues: Vec<ParseError>) -> Self
pub fn new(issues: Vec<ParseError>) -> Self
Build from a non-empty list of issues.
Sourcepub fn one(err: ParseError) -> Self
pub fn one(err: ParseError) -> Self
Single-issue convenience.
Trait Implementations§
Source§impl Clone for ParseErrors
impl Clone for ParseErrors
Source§fn clone(&self) -> ParseErrors
fn clone(&self) -> ParseErrors
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 ParseErrors
impl Debug for ParseErrors
Source§impl Display for ParseErrors
impl Display for ParseErrors
Source§impl Error for ParseErrors
impl Error for ParseErrors
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Hash for ParseErrors
impl Hash for ParseErrors
Source§impl PartialEq for ParseErrors
impl PartialEq for ParseErrors
impl Eq for ParseErrors
Auto Trait Implementations§
impl Freeze for ParseErrors
impl RefUnwindSafe for ParseErrors
impl Send for ParseErrors
impl Sync for ParseErrors
impl Unpin for ParseErrors
impl UnsafeUnpin for ParseErrors
impl UnwindSafe for ParseErrors
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EffectHash for T
impl<T> EffectHash for T
Source§fn effect_hash(&self) -> u64
fn effect_hash(&self) -> u64
Returns a
u64 hash of self using the default hasher (Effect.ts-style single-value hash).Source§impl<T> Equal for T
impl<T> Equal for T
Source§fn effect_equals(&self, other: &Self) -> bool
fn effect_equals(&self, other: &Self) -> bool
Returns whether
self and other are structurally equal (defaults to PartialEq::eq).