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.
Sourcepub fn size_bytes(self) -> Expr
pub fn size_bytes(self) -> Expr
Return the size (number of bytes) in each element.
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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