pub struct SimCost {
pub compute_units_consumed: u64,
pub fee: Option<u64>,
}Expand description
What simulating the stand-in cost. Flattened into the notification’s top level.
Only the kinds that simulate a whole transaction carry it; a venue probe does not.
Fields§
§compute_units_consumed: u64§fee: Option<u64>The transaction fee, in lamports. None when it was not recorded.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SimCost
impl<'de> Deserialize<'de> for SimCost
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 Forget for SimCost
impl Freeze for SimCost
impl Move for SimCost
impl RefUnwindSafe for SimCost
impl Send for SimCost
impl Sync for SimCost
impl Unpin for SimCost
impl UnsafeUnpin for SimCost
impl UnwindSafe for SimCost
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