pub struct Decimal256<const P: u8, const S: i8>(/* private fields */);
Expand description
Fixed-precision decimal stored in 256 bits.
The value is represented as a scaled integer of type i256
.
Implementations§
Trait Implementations§
Source§impl<const P: u8, const S: i8> ArrowBinding for Decimal256<P, S>
impl<const P: u8, const S: i8> ArrowBinding for Decimal256<P, S>
Source§type Builder = PrimitiveBuilder<Decimal256Type>
type Builder = PrimitiveBuilder<Decimal256Type>
Concrete Arrow builder type used for this Rust type.
Source§type Array = PrimitiveArray<Decimal256Type>
type Array = PrimitiveArray<Decimal256Type>
Concrete Arrow array type produced by
finish
.Source§fn new_builder(capacity: usize) -> Self::Builder
fn new_builder(capacity: usize) -> Self::Builder
Create a new builder with an optional capacity hint.
Source§fn append_value(b: &mut Self::Builder, v: &Self)
fn append_value(b: &mut Self::Builder, v: &Self)
Append a non-null value to the builder.
Source§fn append_null(b: &mut Self::Builder)
fn append_null(b: &mut Self::Builder)
Append a null to the builder.
Auto Trait Implementations§
impl<const P: u8, const S: i8> Freeze for Decimal256<P, S>
impl<const P: u8, const S: i8> RefUnwindSafe for Decimal256<P, S>
impl<const P: u8, const S: i8> Send for Decimal256<P, S>
impl<const P: u8, const S: i8> Sync for Decimal256<P, S>
impl<const P: u8, const S: i8> Unpin for Decimal256<P, S>
impl<const P: u8, const S: i8> UnwindSafe for Decimal256<P, S>
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