#[repr(C)]
pub enum FFIOption<T> {
None,
Some(T),
}
Expand description
Helper type to wrap Option ffi safe.
Variants§
Trait Implementations§
source§impl From<FFIOption<FFIAggregation>> for Option<SelectAggregator>
impl From<FFIOption<FFIAggregation>> for Option<SelectAggregator>
source§fn from(value: FFIOption<FFIAggregation>) -> Self
fn from(value: FFIOption<FFIAggregation>) -> Self
Converts to this type from the input type.
source§impl From<FFIOption<FFILimitClause>> for Option<LimitClause>
impl From<FFIOption<FFILimitClause>> for Option<LimitClause>
source§fn from(value: FFIOption<FFILimitClause>) -> Self
fn from(value: FFIOption<FFILimitClause>) -> Self
Converts to this type from the input type.
source§impl From<Option<NaiveDateTime>> for FFIOption<FFIDateTime>
impl From<Option<NaiveDateTime>> for FFIOption<FFIDateTime>
source§fn from(value: Option<NaiveDateTime>) -> Self
fn from(value: Option<NaiveDateTime>) -> Self
Converts to this type from the input type.