pub enum EventValidationError {
MissingId,
MissingCalendar,
MissingTitle,
MissingStartsAt,
}Variants§
Trait Implementations§
Source§impl Clone for EventValidationError
impl Clone for EventValidationError
Source§fn clone(&self) -> EventValidationError
fn clone(&self) -> EventValidationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventValidationError
impl Debug for EventValidationError
Source§impl Display for EventValidationError
impl Display for EventValidationError
Source§impl Error for EventValidationError
impl Error for EventValidationError
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 PartialEq for EventValidationError
impl PartialEq for EventValidationError
Source§fn eq(&self, other: &EventValidationError) -> bool
fn eq(&self, other: &EventValidationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for EventValidationError
impl StructuralPartialEq for EventValidationError
Auto Trait Implementations§
impl Freeze for EventValidationError
impl RefUnwindSafe for EventValidationError
impl Send for EventValidationError
impl Sync for EventValidationError
impl Unpin for EventValidationError
impl UnsafeUnpin for EventValidationError
impl UnwindSafe for EventValidationError
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