Struct BinaryNameSpace
pub struct BinaryNameSpace(/* private fields */);
Expand description
Specialized expressions for Series
of DataType::String
.
Implementations§
§impl BinaryNameSpace
impl BinaryNameSpace
pub fn contains_literal(self, pat: Expr) -> Expr
pub fn contains_literal(self, pat: Expr) -> Expr
Check if a binary value contains a literal binary.
pub 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 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.pub fn from_buffer(self, to_type: DataType, is_little_endian: bool) -> 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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