Struct fuel_gas_price_algorithm::BlockBytes
source · pub struct BlockBytes {
pub height: u32,
pub block_bytes: u64,
}Fields§
§height: u32§block_bytes: u64Trait Implementations§
source§impl Clone for BlockBytes
impl Clone for BlockBytes
source§fn clone(&self) -> BlockBytes
fn clone(&self) -> BlockBytes
Returns a copy 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 BlockBytes
impl Debug for BlockBytes
source§impl PartialEq for BlockBytes
impl PartialEq for BlockBytes
source§fn eq(&self, other: &BlockBytes) -> bool
fn eq(&self, other: &BlockBytes) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BlockBytes
Auto Trait Implementations§
impl Freeze for BlockBytes
impl RefUnwindSafe for BlockBytes
impl Send for BlockBytes
impl Sync for BlockBytes
impl Unpin for BlockBytes
impl UnwindSafe for BlockBytes
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)