pub struct GetDifficultyResponse {
pub value: u64,
}Expand description
Response for the GetDifficulty RPC method
This method returns a primitive value wrapped in a transparent struct.
Fields§
§value: u64Wrapped primitive value
Trait Implementations§
Source§impl AsRef<u64> for GetDifficultyResponse
impl AsRef<u64> for GetDifficultyResponse
Source§impl Clone for GetDifficultyResponse
impl Clone for GetDifficultyResponse
Source§fn clone(&self) -> GetDifficultyResponse
fn clone(&self) -> GetDifficultyResponse
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 GetDifficultyResponse
impl Debug for GetDifficultyResponse
Source§impl Deref for GetDifficultyResponse
impl Deref for GetDifficultyResponse
Source§impl DerefMut for GetDifficultyResponse
impl DerefMut 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
Source§impl From<GetDifficultyResponse> for u64
impl From<GetDifficultyResponse> for u64
Source§fn from(wrapper: GetDifficultyResponse) -> Self
fn from(wrapper: GetDifficultyResponse) -> Self
Converts to this type from the input type.
Source§impl From<u64> for GetDifficultyResponse
impl From<u64> for GetDifficultyResponse
Source§impl PartialEq for GetDifficultyResponse
impl PartialEq for GetDifficultyResponse
Source§impl Serialize for GetDifficultyResponse
impl Serialize for GetDifficultyResponse
impl StructuralPartialEq for GetDifficultyResponse
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