pub struct ProviderCostEstimate {
pub cost: ExecutionCostEstimate,
}Fields§
§cost: ExecutionCostEstimateImplementations§
Source§impl ProviderCostEstimate
impl ProviderCostEstimate
pub fn static_prior( components: ExecutionCostComponents, scratch_bytes: u64, ) -> ProviderCostEstimate
Trait Implementations§
Source§impl Clone for ProviderCostEstimate
impl Clone for ProviderCostEstimate
Source§fn clone(&self) -> ProviderCostEstimate
fn clone(&self) -> ProviderCostEstimate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProviderCostEstimate
Source§impl Debug for ProviderCostEstimate
impl Debug for ProviderCostEstimate
Source§impl<'de> Deserialize<'de> for ProviderCostEstimate
impl<'de> Deserialize<'de> for ProviderCostEstimate
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 ProviderCostEstimate
Source§impl PartialEq for ProviderCostEstimate
impl PartialEq for ProviderCostEstimate
Source§impl Serialize for ProviderCostEstimate
impl Serialize for ProviderCostEstimate
impl StructuralPartialEq for ProviderCostEstimate
Auto Trait Implementations§
impl Freeze for ProviderCostEstimate
impl RefUnwindSafe for ProviderCostEstimate
impl Send for ProviderCostEstimate
impl Sync for ProviderCostEstimate
impl Unpin for ProviderCostEstimate
impl UnsafeUnpin for ProviderCostEstimate
impl UnwindSafe for ProviderCostEstimate
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