Struct cloudformatious::StackWarning
source · pub struct StackWarning {
pub stack_id: String,
pub resource_events: Vec<(ResourceStatus, StackEventDetails)>,
}
Expand description
Describes a successful stack operation with warnings.
It is possible for resource errors to occur even when the overall operation succeeds, such
as failing to delete a resource during clean-up after a successful update. Rather than
letting this pass silently, or relying on carefully interrogating StackEvent
s, the
operation returns an error.
Fields§
§stack_id: String
The ID of the stack.
resource_events: Vec<(ResourceStatus, StackEventDetails)>
Resource events with negative statuses that did not affect the overall operation.
Note: this is represented as a Vec
of tuples to avoid having to worry about
matching StackEvent
variants (when it would be a logical error for them to be
anything other than the Resource
variant).
Trait Implementations§
source§impl Debug for StackWarning
impl Debug for StackWarning
Auto Trait Implementations§
impl Freeze for StackWarning
impl RefUnwindSafe for StackWarning
impl Send for StackWarning
impl Sync for StackWarning
impl Unpin for StackWarning
impl UnwindSafe for StackWarning
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
Creates a shared type from an unshared type.