pub struct BlockSelection {
pub hash: Vec<Hash>,
pub miner: Vec<Address>,
}
Fields§
§hash: Vec<Hash>
Hash of a block, any blocks that have one of these hashes will be returned. Empty means match all.
miner: Vec<Address>
Miner address of a block, any blocks that have one of these miners will be returned. Empty means match all.
Trait Implementations§
Source§impl Clone for BlockSelection
impl Clone for BlockSelection
Source§fn clone(&self) -> BlockSelection
fn clone(&self) -> BlockSelection
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 BlockSelection
impl Debug for BlockSelection
Source§impl Default for BlockSelection
impl Default for BlockSelection
Source§fn default() -> BlockSelection
fn default() -> BlockSelection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockSelection
impl<'de> Deserialize<'de> for BlockSelection
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 PartialEq for BlockSelection
impl PartialEq for BlockSelection
Source§impl Serialize for BlockSelection
impl Serialize for BlockSelection
impl StructuralPartialEq for BlockSelection
Auto Trait Implementations§
impl Freeze for BlockSelection
impl RefUnwindSafe for BlockSelection
impl Send for BlockSelection
impl Sync for BlockSelection
impl Unpin for BlockSelection
impl UnwindSafe for BlockSelection
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