Enum udf_sys::Item_result
source · #[repr(C)]
#[non_exhaustive]
pub enum Item_result {
INVALID_RESULT,
STRING_RESULT,
REAL_RESULT,
INT_RESULT,
ROW_RESULT,
DECIMAL_RESULT,
}Expand description
Type of the user defined function return slot and arguments
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
INVALID_RESULT
Invalid value (not valid for UDFs)
STRING_RESULT
Value representing a string (char *)
REAL_RESULT
Value representing a real (double)
INT_RESULT
Value representing an int (long long)
ROW_RESULT
Value representing a row (not valid for UDFs)
DECIMAL_RESULT
Value representing a decimal (char *)
Trait Implementations
sourceimpl Clone for Item_result
impl Clone for Item_result
sourcefn clone(&self) -> Item_result
fn clone(&self) -> Item_result
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Item_result
impl Debug for Item_result
sourceimpl Hash for Item_result
impl Hash for Item_result
sourceimpl PartialEq<Item_result> for Item_result
impl PartialEq<Item_result> for Item_result
sourcefn eq(&self, other: &Item_result) -> bool
fn eq(&self, other: &Item_result) -> bool
impl Copy for Item_result
impl Eq for Item_result
impl StructuralEq for Item_result
impl StructuralPartialEq for Item_result
Auto Trait Implementations
impl RefUnwindSafe for Item_result
impl Send for Item_result
impl Sync for Item_result
impl Unpin for Item_result
impl UnwindSafe for Item_result
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more