Struct aquatic_http_protocol::common::InfoHash
source · pub struct InfoHash(pub [u8; 20]);
Tuple Fields§
§0: [u8; 20]
Trait Implementations§
source§impl<'de> Deserialize<'de> for InfoHash
impl<'de> Deserialize<'de> for InfoHash
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for InfoHash
impl Ord for InfoHash
source§impl PartialEq for InfoHash
impl PartialEq for InfoHash
source§impl PartialOrd for InfoHash
impl PartialOrd for InfoHash
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for InfoHash
impl Eq for InfoHash
impl StructuralPartialEq for InfoHash
Auto Trait Implementations§
impl Freeze for InfoHash
impl RefUnwindSafe for InfoHash
impl Send for InfoHash
impl Sync for InfoHash
impl Unpin for InfoHash
impl UnwindSafe for InfoHash
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