Struct polars_plan::dsl::binary::BinaryNameSpace
source · pub struct BinaryNameSpace(/* private fields */);
Expand description
Specialized expressions for Series
of DataType::String
.
Implementations§
source§impl BinaryNameSpace
impl BinaryNameSpace
sourcepub fn contains_literal(self, pat: Expr) -> Expr
pub fn contains_literal(self, pat: Expr) -> Expr
Check if a binary value contains a literal binary.
sourcepub fn ends_with(self, sub: Expr) -> Expr
pub fn ends_with(self, sub: Expr) -> Expr
Check if a binary value ends with the given sequence.
sourcepub fn starts_with(self, sub: Expr) -> Expr
pub fn starts_with(self, sub: Expr) -> Expr
Check if a binary value starts with the given sequence.
pub fn hex_decode(self, strict: bool) -> Expr
Available on crate feature
binary_encoding
only.pub fn hex_encode(self) -> Expr
Available on crate feature
binary_encoding
only.pub fn base64_decode(self, strict: bool) -> Expr
Available on crate feature
binary_encoding
only.pub fn base64_encode(self) -> Expr
Available on crate feature
binary_encoding
only.Auto Trait Implementations§
impl Freeze for BinaryNameSpace
impl !RefUnwindSafe for BinaryNameSpace
impl Send for BinaryNameSpace
impl Sync for BinaryNameSpace
impl Unpin for BinaryNameSpace
impl !UnwindSafe for BinaryNameSpace
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more