pub struct GasLimit {
pub accumulate: Gas,
pub transfer: Gas,
}Expand description
The gas limits of the service account
Fields§
§accumulate: GasThe minimum gas in order to execute the accumulate entry-point of the service code (g)
transfer: GasThe minimum required for the on transfer entry-point (m)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GasLimit
impl<'de> Deserialize<'de> for GasLimit
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 GasLimit
impl StructuralPartialEq for GasLimit
Auto Trait Implementations§
impl Freeze for GasLimit
impl RefUnwindSafe for GasLimit
impl Send for GasLimit
impl Sync for GasLimit
impl Unpin for GasLimit
impl UnwindSafe for GasLimit
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