pub struct GetdifficultyResponse(pub f64);Expand description
Returns the proof-of-work difficulty as a multiple of the minimum difficulty.
Tuple Fields§
§0: f64Trait Implementations§
Source§impl Debug for GetdifficultyResponse
impl Debug for GetdifficultyResponse
Source§impl<'de> Deserialize<'de> for GetdifficultyResponse
impl<'de> Deserialize<'de> for GetdifficultyResponse
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
Auto Trait Implementations§
impl Freeze for GetdifficultyResponse
impl RefUnwindSafe for GetdifficultyResponse
impl Send for GetdifficultyResponse
impl Sync for GetdifficultyResponse
impl Unpin for GetdifficultyResponse
impl UnwindSafe for GetdifficultyResponse
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