Struct udf_sys::UDF_INIT

source ·
#[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

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

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.