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 [SQLSTATE][1]s. [1]: https://docs.microsoft.com/sql/odbc/reference/develop-app/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]

[src]

Formats the value using the given formatter. Read more

impl Clone for DiagResult
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DiagResult
[src]

Auto Trait Implementations

impl Send for DiagResult

impl Sync for DiagResult