pub struct BlockInfo {
pub block_id: usize,
pub block_number: usize,
pub start: usize,
pub length: usize,
}Expand description
Info about a block at a given position.
Fields§
§block_id: usize§block_number: usize§start: usize§length: usizeTrait Implementations§
Source§impl From<&BlockInfoDto> for BlockInfo
impl From<&BlockInfoDto> for BlockInfo
Source§fn from(dto: &BlockInfoDto) -> Self
fn from(dto: &BlockInfoDto) -> Self
Converts to this type from the input type.
impl Eq for BlockInfo
impl StructuralPartialEq for BlockInfo
Auto Trait Implementations§
impl Freeze for BlockInfo
impl RefUnwindSafe for BlockInfo
impl Send for BlockInfo
impl Sync for BlockInfo
impl Unpin for BlockInfo
impl UnsafeUnpin for BlockInfo
impl UnwindSafe for BlockInfo
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