pub struct Decimal256Builder { /* private fields */ }
Expand description

Array Builder for Decimal256Array

See Decimal256Array for example.

Implementations

Creates a new Decimal256Builder, capacity is the number of bytes in the values array

Disable validation

Safety

After disabling validation, caller must ensure that appended values are compatible for the specified precision and scale.

Appends a Decimal256 number into the builder.

Returns an error if value has different precision, scale or length in bytes than this builder

Append a null value to the array.

Appends an Option<&Decimal256> into the builder.

Builds the Decimal256Array and reset this builder.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.