#[repr(C)]pub struct UDF_INIT {
pub maybe_null: bool,
pub decimals: c_uint,
pub max_length: c_ulong,
pub ptr: *mut c_char,
pub const_item: bool,
pub extension: *mut c_void,
}
Expand description
Information about the result of a user defined function
Fields§
§maybe_null: bool
True if the function can return NULL
decimals: c_uint
This is used for real-returning functions
max_length: c_ulong
This is used for string functions
ptr: *mut c_char
free pointer for function data
const_item: bool
True if function always returns the same value
extension: *mut c_void
Unused at this time
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UDF_INIT
impl RefUnwindSafe for UDF_INIT
impl !Send for UDF_INIT
impl !Sync for UDF_INIT
impl Unpin for UDF_INIT
impl UnwindSafe for UDF_INIT
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