Struct near_parameters::cost::ParameterCost
source · pub struct ParameterCost {
pub gas: Gas,
pub compute: Compute,
}
Fields§
§gas: Gas
§compute: Compute
Trait Implementations§
source§impl Clone for ParameterCost
impl Clone for ParameterCost
source§fn clone(&self) -> ParameterCost
fn clone(&self) -> ParameterCost
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 moresource§impl Debug for ParameterCost
impl Debug for ParameterCost
source§impl Hash for ParameterCost
impl Hash for ParameterCost
source§impl PartialEq for ParameterCost
impl PartialEq for ParameterCost
impl Eq for ParameterCost
impl StructuralPartialEq for ParameterCost
Auto Trait Implementations§
impl Freeze for ParameterCost
impl RefUnwindSafe for ParameterCost
impl Send for ParameterCost
impl Sync for ParameterCost
impl Unpin for ParameterCost
impl UnwindSafe for ParameterCost
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.