pub struct WhatIfPropertyChange {
pub path: String,
pub property_change_type: PropertyChangeType,
pub before: Option<Value>,
pub after: Option<Value>,
pub children: Vec<WhatIfPropertyChange>,
}
Expand description
The predicted change to the resource property.
Fields§
§path: String
The path of the property.
property_change_type: PropertyChangeType
The type of property change.
before: Option<Value>
The value of the property before the deployment is executed.
after: Option<Value>
The value of the property after the deployment is executed.
children: Vec<WhatIfPropertyChange>
Nested property changes.
Implementations§
source§impl WhatIfPropertyChange
impl WhatIfPropertyChange
pub fn new(path: String, property_change_type: PropertyChangeType) -> Self
Trait Implementations§
source§impl Clone for WhatIfPropertyChange
impl Clone for WhatIfPropertyChange
source§fn clone(&self) -> WhatIfPropertyChange
fn clone(&self) -> WhatIfPropertyChange
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 WhatIfPropertyChange
impl Debug for WhatIfPropertyChange
source§impl<'de> Deserialize<'de> for WhatIfPropertyChange
impl<'de> Deserialize<'de> for WhatIfPropertyChange
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<WhatIfPropertyChange> for WhatIfPropertyChange
impl PartialEq<WhatIfPropertyChange> for WhatIfPropertyChange
source§fn eq(&self, other: &WhatIfPropertyChange) -> bool
fn eq(&self, other: &WhatIfPropertyChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.