#[non_exhaustive]pub struct TableFailure {
pub table: String,
pub reason: String,
pub path: Option<PathBuf>,
pub line: Option<usize>,
}Expand description
A table that cannot be generated.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.table: StringThe table’s SQL name.
reason: String§path: Option<PathBuf>The schema file (migration) that defines the table.
line: Option<usize>1-based line of the table’s CREATE TABLE in that file.
Trait Implementations§
Source§impl Clone for TableFailure
impl Clone for TableFailure
Source§impl Debug for TableFailure
impl Debug for TableFailure
Source§impl Display for TableFailure
impl Display for TableFailure
impl Eq for TableFailure
Source§impl PartialEq for TableFailure
impl PartialEq for TableFailure
impl StructuralPartialEq for TableFailure
Auto Trait Implementations§
impl Freeze for TableFailure
impl RefUnwindSafe for TableFailure
impl Send for TableFailure
impl Sync for TableFailure
impl Unpin for TableFailure
impl UnsafeUnpin for TableFailure
impl UnwindSafe for TableFailure
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