pub enum BlockBy {
Id(BlockId),
Number(u64),
}Expand description
Block selector
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlockBy
impl<'de> Deserialize<'de> for BlockBy
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
impl Eq for BlockBy
impl StructuralPartialEq for BlockBy
Auto Trait Implementations§
impl Freeze for BlockBy
impl RefUnwindSafe for BlockBy
impl Send for BlockBy
impl Sync for BlockBy
impl Unpin for BlockBy
impl UnwindSafe for BlockBy
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