pub struct ErrorOrNotice {Show 15 fields
pub severity: NoticeSeverity,
pub code: String,
pub message: String,
pub detail: Option<String>,
pub hint: Option<String>,
pub position: Option<i32>,
pub where_: Option<String>,
pub schema: Option<String>,
pub table: Option<String>,
pub column: Option<String>,
pub data_type: Option<String>,
pub constraint: Option<String>,
pub file: Option<String>,
pub line: Option<i32>,
pub routine: Option<String>,
}Fields§
§severity: NoticeSeverity§code: String§message: String§detail: Option<String>§hint: Option<String>§position: Option<i32>§where_: Option<String>§schema: Option<String>§table: Option<String>§column: Option<String>§data_type: Option<String>§constraint: Option<String>§file: Option<String>§line: Option<i32>§routine: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ErrorOrNotice
impl Clone for ErrorOrNotice
Source§fn clone(&self) -> ErrorOrNotice
fn clone(&self) -> ErrorOrNotice
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 ErrorOrNotice
impl Debug for ErrorOrNotice
impl Eq for ErrorOrNotice
Source§impl PartialEq for ErrorOrNotice
impl PartialEq for ErrorOrNotice
impl StructuralPartialEq for ErrorOrNotice
Auto Trait Implementations§
impl Freeze for ErrorOrNotice
impl RefUnwindSafe for ErrorOrNotice
impl Send for ErrorOrNotice
impl Sync for ErrorOrNotice
impl Unpin for ErrorOrNotice
impl UnsafeUnpin for ErrorOrNotice
impl UnwindSafe for ErrorOrNotice
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