pub enum DependencyPolicy {
Hard,
Soft,
}Expand description
Whether an authorized reviewer may temporarily set a constraint aside.
Variants§
Hard
Always enforced; only a reviewed plan change can alter or remove it.
Soft
Enforced unless a human or service records an explicit waiver.
Trait Implementations§
Source§impl Clone for DependencyPolicy
impl Clone for DependencyPolicy
impl Copy for DependencyPolicy
Source§impl Debug for DependencyPolicy
impl Debug for DependencyPolicy
Source§impl Default for DependencyPolicy
impl Default for DependencyPolicy
Source§impl<'de> Deserialize<'de> for DependencyPolicy
impl<'de> Deserialize<'de> for DependencyPolicy
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
impl Eq for DependencyPolicy
Source§impl PartialEq for DependencyPolicy
impl PartialEq for DependencyPolicy
Source§impl Serialize for DependencyPolicy
impl Serialize for DependencyPolicy
impl StructuralPartialEq for DependencyPolicy
Auto Trait Implementations§
impl Freeze for DependencyPolicy
impl RefUnwindSafe for DependencyPolicy
impl Send for DependencyPolicy
impl Sync for DependencyPolicy
impl Unpin for DependencyPolicy
impl UnsafeUnpin for DependencyPolicy
impl UnwindSafe for DependencyPolicy
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