pub struct Rollout {
pub percent: f64,
pub key: RolloutKey,
}Expand description
Rollout settings for a route. Absent means “all matched traffic”, i.e. today’s behaviour.
Fields§
§percent: f64Percent of matched traffic that actually enforces, in [0, 100]. The remainder takes the
ordinary observe path. Rollout only ever subtracts from what mode already allows.
key: RolloutKeyWhich identity is held constant.
Implementations§
Trait Implementations§
impl Copy for Rollout
Source§impl<'de> Deserialize<'de> for Rollout
impl<'de> Deserialize<'de> for Rollout
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 StructuralPartialEq for Rollout
Auto Trait Implementations§
impl Freeze for Rollout
impl RefUnwindSafe for Rollout
impl Send for Rollout
impl Sync for Rollout
impl Unpin for Rollout
impl UnsafeUnpin for Rollout
impl UnwindSafe for Rollout
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