Struct polars::prelude::StructNameSpace
pub struct StructNameSpace(/* private fields */);
Available on crate feature
lazy
only.Expand description
Specialized expressions for Struct dtypes.
Implementations§
§impl StructNameSpace
impl StructNameSpace
pub fn field_by_index(self, index: i64) -> Expr
pub 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.
pub fn rename_fields(self, names: Vec<String>) -> Expr
pub fn rename_fields(self, names: Vec<String>) -> Expr
Rename the fields of the StructChunked
.
Auto Trait Implementations§
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