pub struct SimCost {
pub compute_units_consumed: u64,
pub fee: Option<u64>,
}Expand description
What running one stand-in cost, for the kinds that simulate a whole transaction.
A direct-fill probe carries none: it records neither compute units nor fee, on the wire or in its table, so it has nothing to report here yet.
Fields§
§compute_units_consumed: u64§fee: Option<u64>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 Freeze 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