#[repr(C)]pub struct VldbSqliteFfiValue {
pub kind: VldbSqliteFfiValueKind,
pub int64_value: i64,
pub float64_value: f64,
pub string_value: *const c_char,
pub bytes_value: VldbSqliteByteView,
pub bool_value: u8,
}Expand description
FFI SQL 参数值结构。 FFI SQL parameter value structure.
Fields§
§kind: VldbSqliteFfiValueKind当前值类型。 Current value kind.
int64_value: i64int64 值。 int64 value.
float64_value: f64float64 值。 float64 value.
string_value: *const c_charstring 值,要求为 NUL 结尾 UTF-8 字符串。 string value, expected to be a NUL-terminated UTF-8 string.
bytes_value: VldbSqliteByteViewbytes 值。 bytes value.
bool_value: u8bool 值,0 为 false,非 0 为 true。 bool value, 0 for false and non-zero for true.
Trait Implementations§
Source§impl Clone for VldbSqliteFfiValue
impl Clone for VldbSqliteFfiValue
Source§fn clone(&self) -> VldbSqliteFfiValue
fn clone(&self) -> VldbSqliteFfiValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VldbSqliteFfiValue
impl Debug for VldbSqliteFfiValue
impl Copy for VldbSqliteFfiValue
Auto Trait Implementations§
impl Freeze for VldbSqliteFfiValue
impl RefUnwindSafe for VldbSqliteFfiValue
impl !Send for VldbSqliteFfiValue
impl !Sync for VldbSqliteFfiValue
impl Unpin for VldbSqliteFfiValue
impl UnsafeUnpin for VldbSqliteFfiValue
impl UnwindSafe for VldbSqliteFfiValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request