pub struct ScriptExecutionPrices {
pub memory: Ratio,
pub cpu: Ratio,
}Expand description
Script execution prices.
Fields§
§memory: RatioMemory price (lovelace per unit).
cpu: RatioCPU price (lovelace per step).
Trait Implementations§
Source§impl Clone for ScriptExecutionPrices
impl Clone for ScriptExecutionPrices
Source§impl Debug for ScriptExecutionPrices
impl Debug for ScriptExecutionPrices
Source§impl<'de> Deserialize<'de> for ScriptExecutionPrices
impl<'de> Deserialize<'de> for ScriptExecutionPrices
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 ScriptExecutionPrices
impl PartialEq for ScriptExecutionPrices
Source§impl Serialize for ScriptExecutionPrices
impl Serialize for ScriptExecutionPrices
impl StructuralPartialEq for ScriptExecutionPrices
Auto Trait Implementations§
impl Freeze for ScriptExecutionPrices
impl RefUnwindSafe for ScriptExecutionPrices
impl Send for ScriptExecutionPrices
impl Sync for ScriptExecutionPrices
impl Unpin for ScriptExecutionPrices
impl UnsafeUnpin for ScriptExecutionPrices
impl UnwindSafe for ScriptExecutionPrices
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