pub struct Difficulty(pub Vec<u8>);Expand description
32 bytes $name
Tuple Fields§
§0: Vec<u8>Implementations§
Trait Implementations§
Source§impl<'a> AsRef<[u8]> for Difficultywhere
Self: 'a,
impl<'a> AsRef<[u8]> for Difficultywhere
Self: 'a,
Source§impl Clone for Difficulty
impl Clone for Difficulty
Source§fn clone(&self) -> Difficulty
fn clone(&self) -> Difficulty
Returns a duplicate 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 Difficulty
impl Debug for Difficulty
Source§impl Decodable for Difficulty
impl Decodable for Difficulty
Source§impl Default for Difficulty
impl Default for Difficulty
Source§impl<'de> Deserialize<'de> for Difficulty
impl<'de> Deserialize<'de> for Difficulty
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 Display for Difficulty
impl Display for Difficulty
Source§impl Encodable for Difficulty
impl Encodable for Difficulty
Source§impl From<&[u8]> for Difficulty
impl From<&[u8]> for Difficulty
Source§impl PartialEq for Difficulty
impl PartialEq for Difficulty
Source§impl Serialize for Difficulty
impl Serialize for Difficulty
Source§impl TryFrom<&str> for Difficulty
impl TryFrom<&str> for Difficulty
Source§impl TryFrom<String> for Difficulty
impl TryFrom<String> for Difficulty
impl Eq for Difficulty
impl StructuralPartialEq for Difficulty
Auto Trait Implementations§
impl Freeze for Difficulty
impl RefUnwindSafe for Difficulty
impl Send for Difficulty
impl Sync for Difficulty
impl Unpin for Difficulty
impl UnwindSafe for Difficulty
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)