pub struct ProviderCostCompatibility {
pub session_model: fn(&Value) -> Option<String>,
pub estimator: ProviderCostEstimator,
}Expand description
Application-owned callbacks used to price legacy provider receipts on replay.
Fields§
§session_model: fn(&Value) -> Option<String>§estimator: ProviderCostEstimatorTrait Implementations§
Source§impl Clone for ProviderCostCompatibility
impl Clone for ProviderCostCompatibility
Source§fn clone(&self) -> ProviderCostCompatibility
fn clone(&self) -> ProviderCostCompatibility
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 ProviderCostCompatibility
Auto Trait Implementations§
impl Freeze for ProviderCostCompatibility
impl RefUnwindSafe for ProviderCostCompatibility
impl Send for ProviderCostCompatibility
impl Sync for ProviderCostCompatibility
impl Unpin for ProviderCostCompatibility
impl UnsafeUnpin for ProviderCostCompatibility
impl UnwindSafe for ProviderCostCompatibility
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