Struct mariadb_sys::st_key

source ·
#[repr(C)]
pub struct st_key {
Show 26 fields pub flags: ulong, pub ext_key_flags: ulong, pub index_flags: ulong, pub key_length: uint, pub user_defined_key_parts: uint, pub usable_key_parts: uint, pub ext_key_parts: uint, pub block_size: uint, pub is_statistics_from_stat_tables: bool, pub without_overlaps: bool, pub is_ignored: bool, pub ext_key_part_map: key_part_map, pub overlapped: key_map, pub constraint_correlated: key_map, pub name: LEX_CSTRING, pub algorithm: Type, pub __bindgen_anon_1: st_key__bindgen_ty_1, pub key_part: *mut KEY_PART_INFO, pub cache_name: *mut uchar, pub rec_per_key: *mut ulong, pub read_stats: *mut Index_statistics, pub collected_stats: *mut Index_statistics, pub table: *mut TABLE, pub comment: LEX_CSTRING, pub option_list: *mut engine_option_value, pub option_struct: *mut ha_index_option_struct,
}

Fields§

§flags: ulong§ext_key_flags: ulong§index_flags: ulong§key_length: uint§user_defined_key_parts: uint§usable_key_parts: uint§ext_key_parts: uint§block_size: uint§is_statistics_from_stat_tables: bool§without_overlaps: bool§is_ignored: bool§ext_key_part_map: key_part_map§overlapped: key_map§constraint_correlated: key_map§name: LEX_CSTRING§algorithm: Type§__bindgen_anon_1: st_key__bindgen_ty_1§key_part: *mut KEY_PART_INFO§cache_name: *mut uchar§rec_per_key: *mut ulong§read_stats: *mut Index_statistics§collected_stats: *mut Index_statistics§table: *mut TABLE§comment: LEX_CSTRING§option_list: *mut engine_option_value

reference to the list of options or NULL

§option_struct: *mut ha_index_option_struct

Implementations§

source§

impl st_key

source

pub unsafe fn actual_rec_per_key(&mut self, i: uint) -> f64

Auto Trait Implementations§

§

impl !RefUnwindSafe for st_key

§

impl !Send for st_key

§

impl !Sync for st_key

§

impl Unpin for st_key

§

impl !UnwindSafe for st_key

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.