pub struct ProviderResourcePlan { /* private fields */ }Expand description
Trusted output from the selected provider’s shape/attribute-specific resource estimator. The core binds it to the exact estimator input and selected provider before the values can enter an executable plan.
Implementations§
Source§impl ProviderResourcePlan
impl ProviderResourcePlan
pub fn provider_id(&self) -> &ProviderId
pub fn estimator_id(&self) -> &str
pub const fn estimator_version(&self) -> ContractVersion
pub fn estimator_implementation_fingerprint(&self) -> &str
pub fn estimator_input_fingerprint(&self) -> &str
pub fn estimate_fingerprint(&self) -> &str
pub const fn value_alignment_bytes(&self) -> u64
pub fn scratch(&self) -> Option<&ProviderWorkspaceRequirement>
pub fn binding(&self) -> Option<&ProviderWorkspaceRequirement>
pub fn persistent(&self) -> Option<&ProviderWorkspaceRequirement>
Trait Implementations§
Source§impl Clone for ProviderResourcePlan
impl Clone for ProviderResourcePlan
Source§fn clone(&self) -> ProviderResourcePlan
fn clone(&self) -> ProviderResourcePlan
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 moreSource§impl Debug for ProviderResourcePlan
impl Debug for ProviderResourcePlan
impl Eq for ProviderResourcePlan
Source§impl PartialEq for ProviderResourcePlan
impl PartialEq for ProviderResourcePlan
Source§impl Serialize for ProviderResourcePlan
impl Serialize for ProviderResourcePlan
impl StructuralPartialEq for ProviderResourcePlan
Auto Trait Implementations§
impl Freeze for ProviderResourcePlan
impl RefUnwindSafe for ProviderResourcePlan
impl Send for ProviderResourcePlan
impl Sync for ProviderResourcePlan
impl Unpin for ProviderResourcePlan
impl UnsafeUnpin for ProviderResourcePlan
impl UnwindSafe for ProviderResourcePlan
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