Struct grin_wallet_libwallet::api_impl::types::BlockFees
source · pub struct BlockFees {
pub fees: u64,
pub height: u64,
pub key_id: Option<Identifier>,
}
Expand description
Fees in block to use for coinbase amount calculation
Fields§
§fees: u64
fees
height: u64
height
key_id: Option<Identifier>
key id
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for BlockFees
impl<'de> Deserialize<'de> for BlockFees
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
Auto Trait Implementations§
impl Freeze for BlockFees
impl RefUnwindSafe for BlockFees
impl Send for BlockFees
impl Sync for BlockFees
impl Unpin for BlockFees
impl UnwindSafe for BlockFees
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<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.