Struct ACompleteRecord

Source
pub(crate) struct ACompleteRecord<'a> {
Show 27 fields pub a_bool: bool, pub a_str: &'a str, pub a_string: String, pub a_borrowed_string: &'a String, pub maybe_a_str: Option<&'a str>, pub maybe_a_string: Option<String>, pub i16: i16, pub i32: i32, pub u64: u64, pub maybe_u8: Option<u8>, pub maybe_i16: Option<i16>, pub maybe_u32: Option<u32>, pub maybe_usize: Option<usize>, pub isize: isize, pub float: f32, pub double: f64, pub maybe_float: Option<f32>, pub maybe_double: Option<f64>, pub borrowed_maybe_a_string: &'a Option<String>, pub borrowed_maybe_a_str: &'a Option<&'a str>, pub now: NaiveDateTime, pub uuid: Uuid, pub byte_vec: Vec<u8>, pub maybe_byte_vec: Option<Vec<u8>>, pub borrowed_byte_vec: &'a [u8], pub borrowed_maybe_byte_vec: &'a Option<Vec<u8>>, pub borrowed_maybe_borrowed_byte_vec: &'a Option<&'a [u8]>,
}

Fields§

§a_bool: bool§a_str: &'a str§a_string: String§a_borrowed_string: &'a String§maybe_a_str: Option<&'a str>§maybe_a_string: Option<String>§i16: i16§i32: i32§u64: u64§maybe_u8: Option<u8>§maybe_i16: Option<i16>§maybe_u32: Option<u32>§maybe_usize: Option<usize>§isize: isize§float: f32§double: f64§maybe_float: Option<f32>§maybe_double: Option<f64>§borrowed_maybe_a_string: &'a Option<String>§borrowed_maybe_a_str: &'a Option<&'a str>§now: NaiveDateTime§uuid: Uuid§byte_vec: Vec<u8>§maybe_byte_vec: Option<Vec<u8>>§borrowed_byte_vec: &'a [u8]§borrowed_maybe_byte_vec: &'a Option<Vec<u8>>§borrowed_maybe_borrowed_byte_vec: &'a Option<&'a [u8]>

Trait Implementations§

Source§

impl<'a> RecordWriter<ACompleteRecord<'a>> for &[ACompleteRecord<'a>]

Source§

fn write_to_row_group<W: Write + Send>( &self, row_group_writer: &mut SerializedRowGroupWriter<'_, W>, ) -> Result<(), ParquetError>

Writes from self into row_group_writer.
Source§

fn schema(&self) -> Result<TypePtr, ParquetError>

Generated schema used by row_group_writer

Auto Trait Implementations§

§

impl<'a> Freeze for ACompleteRecord<'a>

§

impl<'a> RefUnwindSafe for ACompleteRecord<'a>

§

impl<'a> Send for ACompleteRecord<'a>

§

impl<'a> Sync for ACompleteRecord<'a>

§

impl<'a> Unpin for ACompleteRecord<'a>

§

impl<'a> UnwindSafe for ACompleteRecord<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T