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§
Sourcefn with_capacity(capacity: usize) -> Self
fn with_capacity(capacity: usize) -> Self
Creates a new builder with the given row capacity.
Sourcefn append_value(&mut self, value: &str)
fn append_value(&mut self, value: &str)
Appends a non-null string value to the builder.
Sourcefn append_null(&mut self)
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".