Struct odbc_safe::DiagResult
[−]
[src]
pub struct DiagResult { pub state: [SQLCHAR; 6], pub native_error: SQLINTEGER, pub text_length: SQLSMALLINT, }
Result of Diagnostics::diagnostics
Fields
state: [SQLCHAR; 6]
A five-character SQLSTATE code (and terminating NULL) for the diagnostic record
rec_number
. The first two characters indicate the class; the next three indicate the
subclass. For more information, see SQLSTATEs.
native_error: SQLINTEGER
Native error code specific to the data source.
text_length: SQLSMALLINT
The total number of characters (excluding the terminating NULL) available to return in
message_text
.
Trait Implementations
impl Debug for DiagResult
[src]
impl Clone for DiagResult
[src]
fn clone(&self) -> DiagResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more