pub struct ByteString(/* private fields */);Implementations§
Trait Implementations§
Source§impl Borrow<str> for ByteString
impl Borrow<str> for ByteString
Source§impl Clone for ByteString
impl Clone for ByteString
Source§fn clone(&self) -> ByteString
fn clone(&self) -> ByteString
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ByteString
impl Debug for ByteString
Source§impl<'de> Deserialize<'de> for ByteString
impl<'de> Deserialize<'de> for ByteString
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&str> for ByteString
impl From<&str> for ByteString
Source§impl From<String> for ByteString
impl From<String> for ByteString
Source§impl Hash for ByteString
impl Hash for ByteString
Source§impl Ord for ByteString
impl Ord for ByteString
Source§fn cmp(&self, other: &ByteString) -> Ordering
fn cmp(&self, other: &ByteString) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<ByteString> for String
impl PartialEq<ByteString> for String
Source§impl PartialEq for ByteString
impl PartialEq for ByteString
Source§impl PartialOrd for ByteString
impl PartialOrd for ByteString
Source§impl Serialize for ByteString
impl Serialize for ByteString
impl Eq for ByteString
impl StructuralPartialEq for ByteString
Auto Trait Implementations§
impl !Freeze for ByteString
impl RefUnwindSafe for ByteString
impl Send for ByteString
impl Sync for ByteString
impl Unpin for ByteString
impl UnwindSafe for ByteString
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