Struct taos_query::common::raw::raw_data_t
source · #[repr(C)]pub struct raw_data_t {
pub raw: *const c_void,
pub raw_len: u32,
pub raw_type: u16,
}Expand description
C-struct for raw data, just a data view from native library.
It can be copy/cloned, but should not use it outbound away a offset lifetime.
Fields§
§raw: *const c_void§raw_len: u32§raw_type: u16Implementations§
Trait Implementations§
source§impl Clone for raw_data_t
impl Clone for raw_data_t
source§fn clone(&self) -> raw_data_t
fn clone(&self) -> raw_data_t
Returns a copy 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 raw_data_t
impl Debug for raw_data_t
source§impl From<raw_data_t> for RawData
impl From<raw_data_t> for RawData
source§fn from(raw: raw_data_t) -> Self
fn from(raw: raw_data_t) -> Self
Converts to this type from the input type.
impl Copy for raw_data_t
impl Send for raw_data_t
Auto Trait Implementations§
impl RefUnwindSafe for raw_data_t
impl !Sync for raw_data_t
impl Unpin for raw_data_t
impl UnwindSafe for raw_data_t
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