Struct polars_plan::dsl::StructNameSpace
source · pub struct StructNameSpace(/* private fields */);
Available on crate feature
dtype-struct
only.Expand description
Specialized expressions for Struct dtypes.
Implementations§
source§impl StructNameSpace
impl StructNameSpace
pub fn field_by_index(self, index: i64) -> Expr
sourcepub fn field_by_name(self, name: &str) -> Expr
pub fn field_by_name(self, name: &str) -> Expr
Retrieve one of the fields of this StructChunked
as a new Series.
sourcepub fn rename_fields(self, names: Vec<String>) -> Expr
pub fn rename_fields(self, names: Vec<String>) -> Expr
Rename the fields of the StructChunked
.
pub fn json_encode(self) -> Expr
Available on crate feature
json
only.Auto Trait Implementations§
impl Freeze for StructNameSpace
impl !RefUnwindSafe for StructNameSpace
impl Send for StructNameSpace
impl Sync for StructNameSpace
impl Unpin for StructNameSpace
impl !UnwindSafe for StructNameSpace
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