pub struct SchemaMismatch {
pub message: String,
pub database_schema: i64,
pub library_schema: i64,
}Fields§
§message: String§database_schema: i64§library_schema: i64Trait Implementations§
Source§impl Debug for SchemaMismatch
impl Debug for SchemaMismatch
Source§impl Display for SchemaMismatch
impl Display for SchemaMismatch
Source§impl Error for SchemaMismatch
impl Error for SchemaMismatch
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 From<SchemaMismatch> for Error
impl From<SchemaMismatch> for Error
Source§fn from(mismatch: SchemaMismatch) -> Self
fn from(mismatch: SchemaMismatch) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SchemaMismatch
impl RefUnwindSafe for SchemaMismatch
impl Send for SchemaMismatch
impl Sync for SchemaMismatch
impl Unpin for SchemaMismatch
impl UnsafeUnpin for SchemaMismatch
impl UnwindSafe for SchemaMismatch
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