#[non_exhaustive]pub struct SqlWords {
pub unique: String,
pub in_use: String,
pub rule: String,
pub failed: String,
}Expand description
What to say when the database refuses something, where {0} is the field’s caption.
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.unique: StringA value that has to be unique is not.
in_use: StringSomething else still points to the record.
rule: StringAny other rule of the table.
failed: StringAnything else, where {0} is what SQLite said.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SqlWords
impl RefUnwindSafe for SqlWords
impl Send for SqlWords
impl Sync for SqlWords
impl Unpin for SqlWords
impl UnsafeUnpin for SqlWords
impl UnwindSafe for SqlWords
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