Struct mysqlclient_sys::st_mysql_options[][src]

#[repr(C)]
pub struct st_mysql_options {
Show 40 fields pub connect_timeout: c_uint, pub read_timeout: c_uint, pub write_timeout: c_uint, pub port: c_uint, pub protocol: c_uint, pub client_flag: c_ulong, pub host: *mut c_char, pub user: *mut c_char, pub password: *mut c_char, pub unix_socket: *mut c_char, pub db: *mut c_char, pub init_commands: *mut st_mysql_options_st_dynamic_array, pub my_cnf_file: *mut c_char, pub my_cnf_group: *mut c_char, pub charset_dir: *mut c_char, pub charset_name: *mut c_char, pub ssl_key: *mut c_char, pub ssl_cert: *mut c_char, pub ssl_ca: *mut c_char, pub ssl_capath: *mut c_char, pub ssl_cipher: *mut c_char, pub shared_memory_base_name: *mut c_char, pub max_allowed_packet: c_ulong, pub use_ssl: my_bool, pub compress: my_bool, pub named_pipe: my_bool, pub unused1: my_bool, pub unused2: my_bool, pub unused3: my_bool, pub unused4: my_bool, pub methods_to_use: mysql_option, pub ci: st_mysql_options__bindgen_ty_1, pub unused5: my_bool, pub report_data_truncation: my_bool, pub local_infile_init: Option<unsafe extern "C" fn(arg1: *mut *mut c_void, arg2: *const c_char, arg3: *mut c_void) -> c_int>, pub local_infile_read: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_char, arg3: c_uint) -> c_int>, pub local_infile_end: Option<unsafe extern "C" fn(arg1: *mut c_void)>, pub local_infile_error: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_char, arg3: c_uint) -> c_int>, pub local_infile_userdata: *mut c_void, pub extension: *mut st_mysql_options_extention,
}

Fields

connect_timeout: c_uintread_timeout: c_uintwrite_timeout: c_uintport: c_uintprotocol: c_uintclient_flag: c_ulonghost: *mut c_charuser: *mut c_charpassword: *mut c_charunix_socket: *mut c_chardb: *mut c_charinit_commands: *mut st_mysql_options_st_dynamic_arraymy_cnf_file: *mut c_charmy_cnf_group: *mut c_charcharset_dir: *mut c_charcharset_name: *mut c_charssl_key: *mut c_charssl_cert: *mut c_charssl_ca: *mut c_charssl_capath: *mut c_charssl_cipher: *mut c_charshared_memory_base_name: *mut c_charmax_allowed_packet: c_ulonguse_ssl: my_boolcompress: my_boolnamed_pipe: my_boolunused1: my_boolunused2: my_boolunused3: my_boolunused4: my_boolmethods_to_use: mysql_optionci: st_mysql_options__bindgen_ty_1unused5: my_boolreport_data_truncation: my_boollocal_infile_init: Option<unsafe extern "C" fn(arg1: *mut *mut c_void, arg2: *const c_char, arg3: *mut c_void) -> c_int>local_infile_read: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_char, arg3: c_uint) -> c_int>local_infile_end: Option<unsafe extern "C" fn(arg1: *mut c_void)>local_infile_error: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_char, arg3: c_uint) -> c_int>local_infile_userdata: *mut c_voidextension: *mut st_mysql_options_extention

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.