Struct bitcoincore_rpc_json::HexBytes
source · pub struct HexBytes<'a>(_);
Expand description
A wrapper around &u8 that will be serialized as hexadecimal.
If you have an &[u8]
, you can .into()
it into HexBytes
.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for HexBytes<'a>
impl<'a> Send for HexBytes<'a>
impl<'a> Sync for HexBytes<'a>
impl<'a> Unpin for HexBytes<'a>
impl<'a> UnwindSafe for HexBytes<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more