Struct arrow2_convert::field::I128
source · pub struct I128<const PRECISION: usize, const SCALE: usize> {}
Expand description
Maps a rust i128 to an Arrow Decimal where precision and scale are required.
Trait Implementations§
source§impl<const PRECISION: usize, const SCALE: usize> ArrowSerialize for I128<PRECISION, SCALE>
impl<const PRECISION: usize, const SCALE: usize> ArrowSerialize for I128<PRECISION, SCALE>
§type MutableArrayType = MutablePrimitiveArray<i128>
type MutableArrayType = MutablePrimitiveArray<i128>
The
arrow2::array::MutableArray
that holds this valuesource§fn new_array() -> Self::MutableArrayType
fn new_array() -> Self::MutableArrayType
Create a new mutable array
source§fn arrow_serialize(v: &i128, array: &mut Self::MutableArrayType) -> Result<()>
fn arrow_serialize(v: &i128, array: &mut Self::MutableArrayType) -> Result<()>
Serialize this field to arrow
Auto Trait Implementations§
impl<const PRECISION: usize, const SCALE: usize> RefUnwindSafe for I128<PRECISION, SCALE>
impl<const PRECISION: usize, const SCALE: usize> Send for I128<PRECISION, SCALE>
impl<const PRECISION: usize, const SCALE: usize> Sync for I128<PRECISION, SCALE>
impl<const PRECISION: usize, const SCALE: usize> Unpin for I128<PRECISION, SCALE>
impl<const PRECISION: usize, const SCALE: usize> UnwindSafe for I128<PRECISION, SCALE>
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