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