pub struct GetBlocksRequest {
pub chains: HashSet<ChainId>,
pub from_block: Bound,
pub to_block: Bound,
pub from_timestamp: Option<i64>,
pub to_timestamp: Option<i64>,
}Fields§
§chains: HashSet<ChainId>§from_block: Bound§to_block: Bound§from_timestamp: Option<i64>§to_timestamp: Option<i64>Trait Implementations§
Source§impl Clone for GetBlocksRequest
impl Clone for GetBlocksRequest
Source§fn clone(&self) -> GetBlocksRequest
fn clone(&self) -> GetBlocksRequest
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 GetBlocksRequest
impl Debug for GetBlocksRequest
Source§impl Default for GetBlocksRequest
impl Default for GetBlocksRequest
Source§impl<'de> Deserialize<'de> for GetBlocksRequest
impl<'de> Deserialize<'de> for GetBlocksRequest
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 GetBlocksRequest
impl RefUnwindSafe for GetBlocksRequest
impl Send for GetBlocksRequest
impl Sync for GetBlocksRequest
impl Unpin for GetBlocksRequest
impl UnwindSafe for GetBlocksRequest
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