Struct mysqlclient_sys::st_mysql_client_plugin
source · #[repr(C)]pub struct st_mysql_client_plugin {
pub type_: c_int,
pub interface_version: c_uint,
pub name: *const c_char,
pub author: *const c_char,
pub desc: *const c_char,
pub version: [c_uint; 3],
pub license: *const c_char,
pub mysql_api: *mut c_void,
pub init: Option<unsafe extern "C" fn(arg1: *mut c_char, arg2: usize, arg3: c_int, arg4: *mut __va_list_tag) -> c_int>,
pub deinit: Option<unsafe extern "C" fn() -> c_int>,
pub options: Option<unsafe extern "C" fn(option: *const c_char, arg1: *const c_void) -> c_int>,
}
Fields§
§type_: c_int
§interface_version: c_uint
§name: *const c_char
§desc: *const c_char
§version: [c_uint; 3]
§license: *const c_char
§mysql_api: *mut c_void
§init: Option<unsafe extern "C" fn(arg1: *mut c_char, arg2: usize, arg3: c_int, arg4: *mut __va_list_tag) -> c_int>
§deinit: Option<unsafe extern "C" fn() -> c_int>
§options: Option<unsafe extern "C" fn(option: *const c_char, arg1: *const c_void) -> c_int>
Trait Implementations§
source§impl Clone for st_mysql_client_plugin
impl Clone for st_mysql_client_plugin
source§fn clone(&self) -> st_mysql_client_plugin
fn clone(&self) -> st_mysql_client_plugin
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for st_mysql_client_plugin
impl Debug for st_mysql_client_plugin
impl Copy for st_mysql_client_plugin
Auto Trait Implementations§
impl Freeze for st_mysql_client_plugin
impl RefUnwindSafe for st_mysql_client_plugin
impl !Send for st_mysql_client_plugin
impl !Sync for st_mysql_client_plugin
impl Unpin for st_mysql_client_plugin
impl UnwindSafe for st_mysql_client_plugin
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)