pub struct GetBlockTransactionCountRequest {
pub block_id: BlockId,
}
Expand description
Request for method starknet_getBlockTransactionCount
Fields§
§block_id: BlockId
The hash of the requested block, or number (height) of the requested block, or a block tag
Trait Implementations§
Source§impl Clone for GetBlockTransactionCountRequest
impl Clone for GetBlockTransactionCountRequest
Source§fn clone(&self) -> GetBlockTransactionCountRequest
fn clone(&self) -> GetBlockTransactionCountRequest
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<'de> Deserialize<'de> for GetBlockTransactionCountRequest
impl<'de> Deserialize<'de> for GetBlockTransactionCountRequest
Source§fn deserialize<D>(
deserializer: D,
) -> Result<GetBlockTransactionCountRequest, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<GetBlockTransactionCountRequest, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetBlockTransactionCountRequest
impl PartialEq for GetBlockTransactionCountRequest
Source§fn eq(&self, other: &GetBlockTransactionCountRequest) -> bool
fn eq(&self, other: &GetBlockTransactionCountRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for GetBlockTransactionCountRequest
impl Serialize for GetBlockTransactionCountRequest
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for GetBlockTransactionCountRequest
impl StructuralPartialEq for GetBlockTransactionCountRequest
Auto Trait Implementations§
impl Freeze for GetBlockTransactionCountRequest
impl RefUnwindSafe for GetBlockTransactionCountRequest
impl Send for GetBlockTransactionCountRequest
impl Sync for GetBlockTransactionCountRequest
impl Unpin for GetBlockTransactionCountRequest
impl UnwindSafe for GetBlockTransactionCountRequest
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.