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 [SQLSTATE][1]s.
[1]: https://docs.microsoft.com/sql/odbc/reference/develop-app/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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DiagResult
[src]
fn clone(&self) -> DiagResult
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more