pub enum DatabaseSchemaError {
LenCharMaxViolated,
RegexViolated,
}Variants§
Trait Implementations§
Source§impl Clone for DatabaseSchemaError
impl Clone for DatabaseSchemaError
Source§fn clone(&self) -> DatabaseSchemaError
fn clone(&self) -> DatabaseSchemaError
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 DatabaseSchemaError
impl Debug for DatabaseSchemaError
Source§impl Display for DatabaseSchemaError
impl Display for DatabaseSchemaError
impl Eq for DatabaseSchemaError
Source§impl Error for DatabaseSchemaError
impl Error for DatabaseSchemaError
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 DatabaseSchemaError
impl PartialEq for DatabaseSchemaError
Source§fn eq(&self, other: &DatabaseSchemaError) -> bool
fn eq(&self, other: &DatabaseSchemaError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DatabaseSchemaError
Auto Trait Implementations§
impl Freeze for DatabaseSchemaError
impl RefUnwindSafe for DatabaseSchemaError
impl Send for DatabaseSchemaError
impl Sync for DatabaseSchemaError
impl Unpin for DatabaseSchemaError
impl UnsafeUnpin for DatabaseSchemaError
impl UnwindSafe for DatabaseSchemaError
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