StringLikeArrayBuilder

Trait StringLikeArrayBuilder 

Source
pub trait StringLikeArrayBuilder: ArrayBuilder {
    // Required methods
    fn type_name() -> &'static str;
    fn with_capacity(capacity: usize) -> Self;
    fn append_value(&mut self, value: &str);
    fn append_null(&mut self);
}
Expand description

Trait for string-like array builders

This trait provides unified interface for builders that append string-like data such as GenericStringBuilder<O> and crate::builder::StringViewBuilder

Required Methods§

Source

fn type_name() -> &'static str

Returns a human-readable type name for the builder.

Source

fn with_capacity(capacity: usize) -> Self

Creates a new builder with the given row capacity.

Source

fn append_value(&mut self, value: &str)

Appends a non-null string value to the builder.

Source

fn append_null(&mut self)

Appends a null value to the builder.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§