pub struct RolloutRestriction {
pub actions: Option<Vec<String>>,
pub id: Option<String>,
pub invokers: Option<Vec<String>>,
pub time_windows: Option<TimeWindows>,
}Expand description
Rollout restrictions.
This type is not used in any activity, and only used as part of another schema.
Fields§
§actions: Option<Vec<String>>Optional. Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.
id: Option<String>Required. Restriction rule ID. Required and must be unique within a DeployPolicy. The format is [a-z]([a-z0-9-]{0,61}[a-z0-9])?.
invokers: Option<Vec<String>>Optional. What invoked the action. If left empty, all invoker types will be restricted.
time_windows: Option<TimeWindows>Required. Time window within which actions are restricted.
Trait Implementations§
Source§impl Clone for RolloutRestriction
impl Clone for RolloutRestriction
Source§fn clone(&self) -> RolloutRestriction
fn clone(&self) -> RolloutRestriction
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 RolloutRestriction
impl Debug for RolloutRestriction
Source§impl Default for RolloutRestriction
impl Default for RolloutRestriction
Source§fn default() -> RolloutRestriction
fn default() -> RolloutRestriction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RolloutRestriction
impl<'de> Deserialize<'de> for RolloutRestriction
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 Serialize for RolloutRestriction
impl Serialize for RolloutRestriction
impl Part for RolloutRestriction
Auto Trait Implementations§
impl Freeze for RolloutRestriction
impl RefUnwindSafe for RolloutRestriction
impl Send for RolloutRestriction
impl Sync for RolloutRestriction
impl Unpin for RolloutRestriction
impl UnwindSafe for RolloutRestriction
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