Struct ockam_api::HexByteVec
source · pub struct HexByteVec(pub Vec<u8>);
Expand description
Newtype around Vec<u8>
that provides base-16 string encoding using serde.
Tuple Fields§
§0: Vec<u8>
Implementations§
Trait Implementations§
source§impl Clone for HexByteVec
impl Clone for HexByteVec
source§fn clone(&self) -> HexByteVec
fn clone(&self) -> HexByteVec
Returns a copy 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 HexByteVec
impl Debug for HexByteVec
source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for HexByteVec
impl<'bytes, Ctx> Decode<'bytes, Ctx> for HexByteVec
source§impl Default for HexByteVec
impl Default for HexByteVec
source§fn default() -> HexByteVec
fn default() -> HexByteVec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HexByteVec
impl<'de> Deserialize<'de> for HexByteVec
source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for HexByteVec
impl Display for HexByteVec
source§impl<Ctx> Encode<Ctx> for HexByteVec
impl<Ctx> Encode<Ctx> for HexByteVec
source§impl From<HexByteVec> for Vec<u8>
impl From<HexByteVec> for Vec<u8>
source§fn from(h: HexByteVec) -> Self
fn from(h: HexByteVec) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for HexByteVec
impl Send for HexByteVec
impl Sync for HexByteVec
impl Unpin for HexByteVec
impl UnwindSafe for HexByteVec
Blanket Implementations§
source§impl<D> AsyncTryClone for Dwhere
D: Clone + Sync,
impl<D> AsyncTryClone for Dwhere D: Clone + Sync,
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