pub struct GetNetworkHashpsResponse {
pub value: u64,
}Expand description
Response for the GetNetworkHashps 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 GetNetworkHashpsResponse
impl AsRef<u64> for GetNetworkHashpsResponse
Source§impl Clone for GetNetworkHashpsResponse
impl Clone for GetNetworkHashpsResponse
Source§fn clone(&self) -> GetNetworkHashpsResponse
fn clone(&self) -> GetNetworkHashpsResponse
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 GetNetworkHashpsResponse
impl Debug for GetNetworkHashpsResponse
Source§impl Deref for GetNetworkHashpsResponse
impl Deref for GetNetworkHashpsResponse
Source§impl DerefMut for GetNetworkHashpsResponse
impl DerefMut for GetNetworkHashpsResponse
Source§impl<'de> Deserialize<'de> for GetNetworkHashpsResponse
impl<'de> Deserialize<'de> for GetNetworkHashpsResponse
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<GetNetworkHashpsResponse> for u64
impl From<GetNetworkHashpsResponse> for u64
Source§fn from(wrapper: GetNetworkHashpsResponse) -> Self
fn from(wrapper: GetNetworkHashpsResponse) -> Self
Converts to this type from the input type.
Source§impl From<u64> for GetNetworkHashpsResponse
impl From<u64> for GetNetworkHashpsResponse
Source§impl PartialEq for GetNetworkHashpsResponse
impl PartialEq for GetNetworkHashpsResponse
Source§impl Serialize for GetNetworkHashpsResponse
impl Serialize for GetNetworkHashpsResponse
impl StructuralPartialEq for GetNetworkHashpsResponse
Auto Trait Implementations§
impl Freeze for GetNetworkHashpsResponse
impl RefUnwindSafe for GetNetworkHashpsResponse
impl Send for GetNetworkHashpsResponse
impl Sync for GetNetworkHashpsResponse
impl Unpin for GetNetworkHashpsResponse
impl UnwindSafe for GetNetworkHashpsResponse
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