Struct stacks_rpc_client::clarity::vm::CostSynthesis
pub struct CostSynthesis {
pub total: ExecutionCost,
pub limit: ExecutionCost,
pub memory: u64,
pub memory_limit: u64,
}
Fields§
§total: ExecutionCost
§limit: ExecutionCost
§memory: u64
§memory_limit: u64
Implementations§
§impl CostSynthesis
impl CostSynthesis
pub fn from_cost_tracker(cost_tracker: &LimitedCostTracker) -> CostSynthesis
Trait Implementations§
§impl Clone for CostSynthesis
impl Clone for CostSynthesis
§fn clone(&self) -> CostSynthesis
fn clone(&self) -> CostSynthesis
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 moreAuto Trait Implementations§
impl RefUnwindSafe for CostSynthesis
impl Send for CostSynthesis
impl Sync for CostSynthesis
impl Unpin for CostSynthesis
impl UnwindSafe for CostSynthesis
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