Struct cassandra_protocol::types::value::Bytes
source · pub struct Bytes(/* private fields */);Implementations§
Trait Implementations§
source§impl From<NaiveDateTime> for Bytes
impl From<NaiveDateTime> for Bytes
source§fn from(value: NaiveDateTime) -> Self
fn from(value: NaiveDateTime) -> Self
Converts to this type from the input type.
source§impl From<NonZero<i16>> for Bytes
impl From<NonZero<i16>> for Bytes
source§fn from(value: NonZeroI16) -> Self
fn from(value: NonZeroI16) -> Self
Converts to this type from the input type.
source§impl From<NonZero<i32>> for Bytes
impl From<NonZero<i32>> for Bytes
source§fn from(value: NonZeroI32) -> Self
fn from(value: NonZeroI32) -> Self
Converts to this type from the input type.
source§impl From<NonZero<i64>> for Bytes
impl From<NonZero<i64>> for Bytes
source§fn from(value: NonZeroI64) -> Self
fn from(value: NonZeroI64) -> Self
Converts to this type from the input type.
source§impl From<PrimitiveDateTime> for Bytes
impl From<PrimitiveDateTime> for Bytes
source§fn from(value: PrimitiveDateTime) -> Self
fn from(value: PrimitiveDateTime) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Bytes
impl RefUnwindSafe for Bytes
impl Send for Bytes
impl Sync for Bytes
impl Unpin for Bytes
impl UnwindSafe for Bytes
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