#[non_exhaustive]pub enum Reasons {
Reason(CommonReason),
RevisionReason(RevisionReason),
ExecutionReason(ExecutionReason),
}Expand description
The reason for this condition. Depending on the condition type, it will populate one of these fields. Successful conditions cannot have a reason.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Reason(CommonReason)
Output only. A common (service-level) reason for this condition.
RevisionReason(RevisionReason)
Output only. A reason for the revision condition.
ExecutionReason(ExecutionReason)
Output only. A reason for the execution condition.
Trait Implementations§
impl StructuralPartialEq for Reasons
Auto Trait Implementations§
impl Freeze for Reasons
impl RefUnwindSafe for Reasons
impl Send for Reasons
impl Sync for Reasons
impl Unpin for Reasons
impl UnwindSafe for Reasons
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