pub struct Hash20 {}
Implementations
sourceimpl Hash20
impl Hash20
pub fn json_serialize<S: Serializer>(
inst: &[u8; 20],
s: S
) -> Result<S::Ok, S::Error>
pub fn json_deserialize<'de, D: Deserializer<'de>>(
d: D
) -> Result<[u8; 20], D::Error>
Auto Trait Implementations
impl RefUnwindSafe for Hash20
impl Send for Hash20
impl Sync for Hash20
impl Unpin for Hash20
impl UnwindSafe for Hash20
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