pub struct BytesValue(pub Vec<u8>);Expand description
Represents a byte sequence.
Tuple Fields§
§0: Vec<u8>Implementations§
Source§impl BytesValue
impl BytesValue
Trait Implementations§
Source§impl Clone for BytesValue
impl Clone for BytesValue
Source§fn clone(&self) -> BytesValue
fn clone(&self) -> BytesValue
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 BytesValue
impl Debug for BytesValue
Source§impl Default for BytesValue
impl Default for BytesValue
Source§fn default() -> BytesValue
fn default() -> BytesValue
Returns the “default value” for a type. Read more
Source§impl Display for BytesValue
impl Display for BytesValue
Source§impl<'a> From<&'a BytesValue> for &'a [u8]
impl<'a> From<&'a BytesValue> for &'a [u8]
Source§fn from(value: &'a BytesValue) -> Self
fn from(value: &'a BytesValue) -> Self
Converts to this type from the input type.
Source§impl From<BytesValue> for Value
impl From<BytesValue> for Value
Source§fn from(value: BytesValue) -> Self
fn from(value: BytesValue) -> Self
Converts to this type from the input type.
Source§impl From<BytesValue> for Vec<u8>
impl From<BytesValue> for Vec<u8>
Source§fn from(value: BytesValue) -> Self
fn from(value: BytesValue) -> Self
Converts to this type from the input type.
Source§impl Hash for BytesValue
impl Hash for BytesValue
Source§impl Ord for BytesValue
impl Ord for BytesValue
Source§fn cmp(&self, other: &BytesValue) -> Ordering
fn cmp(&self, other: &BytesValue) -> 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 for BytesValue
impl PartialEq for BytesValue
Source§impl PartialOrd for BytesValue
impl PartialOrd for BytesValue
impl Eq for BytesValue
impl StructuralPartialEq for BytesValue
Auto Trait Implementations§
impl Freeze for BytesValue
impl RefUnwindSafe for BytesValue
impl Send for BytesValue
impl Sync for BytesValue
impl Unpin for BytesValue
impl UnwindSafe for BytesValue
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