pub struct TrafficConfig {
pub single_weight_config: Option<ContinuousDeploymentSingleWeightConfig>,
pub single_header_config: Option<ContinuousDeploymentSingleHeaderConfig>,
pub traffic_type: String,
}Fields§
§single_weight_config: Option<ContinuousDeploymentSingleWeightConfig>§single_header_config: Option<ContinuousDeploymentSingleHeaderConfig>§traffic_type: StringTrait Implementations§
Source§impl Clone for TrafficConfig
impl Clone for TrafficConfig
Source§fn clone(&self) -> TrafficConfig
fn clone(&self) -> TrafficConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TrafficConfig
impl Debug for TrafficConfig
Source§impl Default for TrafficConfig
impl Default for TrafficConfig
Source§fn default() -> TrafficConfig
fn default() -> TrafficConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrafficConfig
impl<'de> Deserialize<'de> for TrafficConfig
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
Auto Trait Implementations§
impl Freeze for TrafficConfig
impl RefUnwindSafe for TrafficConfig
impl Send for TrafficConfig
impl Sync for TrafficConfig
impl Unpin for TrafficConfig
impl UnsafeUnpin for TrafficConfig
impl UnwindSafe for TrafficConfig
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