pub struct PrimaryRow {
pub code: PrimaryCode,
pub value: i32,
pub c_name: &'static str,
pub message: &'static str,
pub connection_usable: bool,
pub statement_resettable: bool,
pub transaction_rolled_back: bool,
}Expand description
One row of the generated primary-code table.
Fields§
§code: PrimaryCodeThe Rust enum variant this row describes.
value: i32The numeric value SQLite returns.
c_name: &'static strThe C macro name, used by the ABI surface and the oracle.
message: &'static strThe default English message for the code.
connection_usable: boolWhether the connection may still be used.
statement_resettable: boolWhether the statement may be reset and re-stepped.
transaction_rolled_back: boolWhether the error implicitly rolled the transaction back.
Trait Implementations§
Source§impl Clone for PrimaryRow
impl Clone for PrimaryRow
impl Copy for PrimaryRow
Auto Trait Implementations§
impl Freeze for PrimaryRow
impl RefUnwindSafe for PrimaryRow
impl Send for PrimaryRow
impl Sync for PrimaryRow
impl Unpin for PrimaryRow
impl UnsafeUnpin for PrimaryRow
impl UnwindSafe for PrimaryRow
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