pub struct SerializeBytesAsHex<'a>(pub &'a [u8]);
Available on crate feature
serde
only.Expand description
Byte slice wrapper to serialize as a hex string in lowercase characters.
Tuple Fields§
§0: &'a [u8]
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SerializeBytesAsHex<'a>
impl<'a> RefUnwindSafe for SerializeBytesAsHex<'a>
impl<'a> Send for SerializeBytesAsHex<'a>
impl<'a> Sync for SerializeBytesAsHex<'a>
impl<'a> Unpin for SerializeBytesAsHex<'a>
impl<'a> UnwindSafe for SerializeBytesAsHex<'a>
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