Trait polars::chunked_array::object::registry::AnonymousObjectBuilder
source · pub trait AnonymousObjectBuilder {
// Required methods
fn append_null(&mut self);
fn append_value(&mut self, value: &(dyn Any + 'static));
fn to_series(&mut self) -> Series;
// Provided method
fn append_option(&mut self, value: Option<&(dyn Any + 'static)>) { ... }
}
Available on crate feature
object
only.Expand description
This trait can be registered, after which that global registration can be used to materialize object types
Required Methods§
sourcefn append_null(&mut self)
fn append_null(&mut self)
Append a null
value.
sourcefn append_value(&mut self, value: &(dyn Any + 'static))
fn append_value(&mut self, value: &(dyn Any + 'static))
Append a T
of ObjectChunked<T>
made generic via the Any
trait.