pub struct GasKeyAddFee {
pub base: ParameterCost,
pub per_byte: ParameterCost,
}Expand description
Additional costs for adding an access key with GasKeyFunctionCall or
GasKeyFullAccess permissions, split into base (gas_key_nonce_write_base)
and per-byte (gas_key_byte) components.
Fields§
§base: ParameterCost§per_byte: ParameterCostImplementations§
Source§impl GasKeyAddFee
impl GasKeyAddFee
pub fn total(&self) -> ParameterCost
Auto Trait Implementations§
impl Freeze for GasKeyAddFee
impl RefUnwindSafe for GasKeyAddFee
impl Send for GasKeyAddFee
impl Sync for GasKeyAddFee
impl Unpin for GasKeyAddFee
impl UnsafeUnpin for GasKeyAddFee
impl UnwindSafe for GasKeyAddFee
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