pub struct RolloutBudget {
pub selector: Selector,
pub hosts: Vec<String>,
pub max_in_flight: Option<u32>,
pub max_in_flight_pct: Option<u32>,
}Expand description
Per-rollout snapshot of a fleet-wide disruption budget. Selector is preserved so cross-rollout sums match by intent even when host membership has shifted between rollout opens.
Fields§
§selector: Selector§hosts: Vec<String>§max_in_flight: Option<u32>§max_in_flight_pct: Option<u32>Trait Implementations§
Source§impl Clone for RolloutBudget
impl Clone for RolloutBudget
Source§fn clone(&self) -> RolloutBudget
fn clone(&self) -> RolloutBudget
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 RolloutBudget
impl Debug for RolloutBudget
Source§impl<'de> Deserialize<'de> for RolloutBudget
impl<'de> Deserialize<'de> for RolloutBudget
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 PartialEq for RolloutBudget
impl PartialEq for RolloutBudget
Source§impl Serialize for RolloutBudget
impl Serialize for RolloutBudget
impl StructuralPartialEq for RolloutBudget
Auto Trait Implementations§
impl Freeze for RolloutBudget
impl RefUnwindSafe for RolloutBudget
impl Send for RolloutBudget
impl Sync for RolloutBudget
impl Unpin for RolloutBudget
impl UnwindSafe for RolloutBudget
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