pub struct Preview {
pub aae_version: String,
pub preview_id: String,
pub proposal_id: String,
pub step_previews: Vec<StepPreview>,
pub aggregate_blast_radius: BlastRadius,
pub preview_unsupported: bool,
pub generated_at: DateTime<Utc>,
}Expand description
Predicted effects of executing a proposal.
Fields§
§aae_version: StringProtocol version.
preview_id: StringULID of this preview.
proposal_id: StringULID of the proposal this previews.
step_previews: Vec<StepPreview>Per-step preview outputs.
aggregate_blast_radius: BlastRadiusAggregate (worst-case) blast radius.
preview_unsupported: boolTrue if any step’s preview was unsupported.
generated_at: DateTime<Utc>Generation timestamp.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Preview
impl<'de> Deserialize<'de> for Preview
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 Preview
impl RefUnwindSafe for Preview
impl Send for Preview
impl Sync for Preview
impl Unpin for Preview
impl UnsafeUnpin for Preview
impl UnwindSafe for Preview
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