pub struct StepPreview {
pub step_index: usize,
pub predicted_effects: Vec<Effect>,
pub estimated_duration_ms: Option<u64>,
pub diff: Option<String>,
pub warnings: Vec<String>,
pub preview_unsupported_reason: Option<String>,
pub ext: Option<Value>,
}Expand description
Preview output for a single step.
Fields§
§step_index: usizeIndex of this step within the proposal’s steps array.
predicted_effects: Vec<Effect>Predicted effects.
estimated_duration_ms: Option<u64>Estimated duration in milliseconds.
diff: Option<String>Optional human-readable diff.
warnings: Vec<String>Warnings produced during preview.
preview_unsupported_reason: Option<String>If this step’s preview was unsupported, the reason.
ext: Option<Value>v0.3: non-normative extension fields (ext.* namespace).
Standardized shapes: cost_estimate (CostEstimate).
Trait Implementations§
Source§impl Clone for StepPreview
impl Clone for StepPreview
Source§impl Debug for StepPreview
impl Debug for StepPreview
Source§impl<'de> Deserialize<'de> for StepPreview
impl<'de> Deserialize<'de> for StepPreview
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
Auto Trait Implementations§
impl Freeze for StepPreview
impl RefUnwindSafe for StepPreview
impl Send for StepPreview
impl Sync for StepPreview
impl Unpin for StepPreview
impl UnsafeUnpin for StepPreview
impl UnwindSafe for StepPreview
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