Struct fuel_gas_price_algorithm::v0::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<'de> Deserialize<'de> for BlockBytes
impl<'de> Deserialize<'de> for BlockBytes
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 BlockBytes
impl PartialEq for BlockBytes
source§impl Serialize for BlockBytes
impl Serialize for BlockBytes
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)