pub struct Bytes32(pub [u8; 32]);
Tuple Fields§
§0: [u8; 32]
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bytes32
impl<'de> Deserialize<'de> for Bytes32
Source§fn deserialize<D>(deserializer: D) -> Result<Bytes32, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Bytes32, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Bytes32
impl StructuralPartialEq for Bytes32
Auto Trait Implementations§
impl Freeze for Bytes32
impl RefUnwindSafe for Bytes32
impl Send for Bytes32
impl Sync for Bytes32
impl Unpin for Bytes32
impl UnwindSafe for Bytes32
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