#[repr(C)]pub struct UDF_ARGS {
pub arg_count: c_uint,
pub arg_types: *mut Item_result,
pub args: *const *const c_char,
pub lengths: *const c_ulong,
pub maybe_null: *const c_char,
pub attributes: *const *const c_char,
pub attribute_lengths: *const c_ulong,
pub extension: *const c_void,
}
Expand description
Representation of a sequence of SQL arguments
Fields§
§arg_count: c_uint
Number of arguments present
arg_types: *mut Item_result
Buffer of item_result
pointers that indicate argument type
Remains mutable because it can be set in xxx_init
args: *const *const c_char
Buffer of pointers to the arguments. Arguments may be of any type
(specified in arg_type
).
lengths: *const c_ulong
Buffer of lengths for string arguments
maybe_null: *const c_char
Indicates whether the argument may be null or not
attributes: *const *const c_char
Buffer of string pointers that hold variable names, for use with error messages
attribute_lengths: *const c_ulong
Buffer of lengths of attributes
extension: *const c_void
Extension is currently unused
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UDF_ARGS
impl RefUnwindSafe for UDF_ARGS
impl !Send for UDF_ARGS
impl !Sync for UDF_ARGS
impl Unpin for UDF_ARGS
impl UnwindSafe for UDF_ARGS
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