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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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