pub struct BlockHint {
pub block_hash: String,
pub token_count: u32,
pub bytes: Option<u64>,
}Fields§
§block_hash: String§token_count: u32§bytes: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlockHint
impl<'de> Deserialize<'de> for BlockHint
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 BlockHint
impl StructuralPartialEq for BlockHint
Auto Trait Implementations§
impl Freeze for BlockHint
impl RefUnwindSafe for BlockHint
impl Send for BlockHint
impl Sync for BlockHint
impl Unpin for BlockHint
impl UnsafeUnpin for BlockHint
impl UnwindSafe for BlockHint
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