pub struct ProgramCost {
pub units_per_call: u64,
}Fields§
§units_per_call: u64Metered logical units charged per call (spec 005, 3.12). Not money.
Trait Implementations§
Source§impl Clone for ProgramCost
impl Clone for ProgramCost
Source§impl Debug for ProgramCost
impl Debug for ProgramCost
Source§impl<'de> Deserialize<'de> for ProgramCost
impl<'de> Deserialize<'de> for ProgramCost
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
impl Eq for ProgramCost
Source§impl PartialEq for ProgramCost
impl PartialEq for ProgramCost
Source§impl Serialize for ProgramCost
impl Serialize for ProgramCost
impl StructuralPartialEq for ProgramCost
Auto Trait Implementations§
impl Freeze for ProgramCost
impl RefUnwindSafe for ProgramCost
impl Send for ProgramCost
impl Sync for ProgramCost
impl Unpin for ProgramCost
impl UnsafeUnpin for ProgramCost
impl UnwindSafe for ProgramCost
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