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<InfoHash> for InfoHash
impl PartialEq<InfoHash> for InfoHash
source§impl PartialOrd<InfoHash> for InfoHash
impl PartialOrd<InfoHash> 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 more