pub struct WhatIfChange {
pub resource_id: String,
pub change_type: ChangeType,
pub unsupported_reason: Option<String>,
pub before: Option<Value>,
pub after: Option<Value>,
pub delta: Vec<WhatIfPropertyChange>,
}
Expand description
Information about a single resource change predicted by What-If operation.
Fields§
§resource_id: String
Resource ID
change_type: ChangeType
Type of change that will be made to the resource when the deployment is executed.
unsupported_reason: Option<String>
The explanation about why the resource is unsupported by What-If.
before: Option<Value>
The snapshot of the resource before the deployment is executed.
after: Option<Value>
The predicted snapshot of the resource after the deployment is executed.
delta: Vec<WhatIfPropertyChange>
The predicted changes to resource properties.
Implementations§
source§impl WhatIfChange
impl WhatIfChange
pub fn new(resource_id: String, change_type: ChangeType) -> Self
Trait Implementations§
source§impl Clone for WhatIfChange
impl Clone for WhatIfChange
source§fn clone(&self) -> WhatIfChange
fn clone(&self) -> WhatIfChange
Returns a copy of the value. Read more
1.0.0 · 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 WhatIfChange
impl Debug for WhatIfChange
source§impl<'de> Deserialize<'de> for WhatIfChange
impl<'de> Deserialize<'de> for WhatIfChange
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
source§impl PartialEq for WhatIfChange
impl PartialEq for WhatIfChange
source§fn eq(&self, other: &WhatIfChange) -> bool
fn eq(&self, other: &WhatIfChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WhatIfChange
impl Serialize for WhatIfChange
impl StructuralPartialEq for WhatIfChange
Auto Trait Implementations§
impl Freeze for WhatIfChange
impl RefUnwindSafe for WhatIfChange
impl Send for WhatIfChange
impl Sync for WhatIfChange
impl Unpin for WhatIfChange
impl UnwindSafe for WhatIfChange
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