pub struct EnvironmentRestriction {
pub environment: RuntimeEnvironment,
pub side_effects: EnvironmentSideEffects,
pub required_approval_capabilities: Vec<String>,
}Expand description
Environment-level restrictions relevant to approval and deployment.
Fields§
§environment: RuntimeEnvironmentEnvironment posture.
side_effects: EnvironmentSideEffectsSide-effect policy in that posture.
required_approval_capabilities: Vec<String>Approval capability ids that become relevant in that posture.
Trait Implementations§
Source§impl Clone for EnvironmentRestriction
impl Clone for EnvironmentRestriction
Source§fn clone(&self) -> EnvironmentRestriction
fn clone(&self) -> EnvironmentRestriction
Returns a duplicate 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 EnvironmentRestriction
impl Debug for EnvironmentRestriction
Source§impl PartialEq for EnvironmentRestriction
impl PartialEq for EnvironmentRestriction
Source§impl Serialize for EnvironmentRestriction
impl Serialize for EnvironmentRestriction
impl Eq for EnvironmentRestriction
impl StructuralPartialEq for EnvironmentRestriction
Auto Trait Implementations§
impl Freeze for EnvironmentRestriction
impl RefUnwindSafe for EnvironmentRestriction
impl Send for EnvironmentRestriction
impl Sync for EnvironmentRestriction
impl Unpin for EnvironmentRestriction
impl UnwindSafe for EnvironmentRestriction
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