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

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 code specific to the data source.

The total number of characters (excluding the terminating NULL) available to return in message_text.

Trait Implementations

impl Debug for DiagResult
[src]

Formats the value using the given formatter.

impl Clone for DiagResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for DiagResult
[src]