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<WhatIfChange> for WhatIfChange
impl PartialEq<WhatIfChange> 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 ==
.