pub struct DeploymentStrategyConfig {
pub kind: DeploymentStrategyKind,
pub traffic_percent: Option<u8>,
}Fields§
§kind: DeploymentStrategyKind§traffic_percent: Option<u8>Trait Implementations§
Source§impl Clone for DeploymentStrategyConfig
impl Clone for DeploymentStrategyConfig
Source§fn clone(&self) -> DeploymentStrategyConfig
fn clone(&self) -> DeploymentStrategyConfig
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 DeploymentStrategyConfig
impl Debug for DeploymentStrategyConfig
Source§impl Default for DeploymentStrategyConfig
impl Default for DeploymentStrategyConfig
Source§impl<'de> Deserialize<'de> for DeploymentStrategyConfig
impl<'de> Deserialize<'de> for DeploymentStrategyConfig
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 DeploymentStrategyConfig
impl PartialEq for DeploymentStrategyConfig
Source§impl Serialize for DeploymentStrategyConfig
impl Serialize for DeploymentStrategyConfig
impl Eq for DeploymentStrategyConfig
impl StructuralPartialEq for DeploymentStrategyConfig
Auto Trait Implementations§
impl Freeze for DeploymentStrategyConfig
impl RefUnwindSafe for DeploymentStrategyConfig
impl Send for DeploymentStrategyConfig
impl Sync for DeploymentStrategyConfig
impl Unpin for DeploymentStrategyConfig
impl UnsafeUnpin for DeploymentStrategyConfig
impl UnwindSafe for DeploymentStrategyConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.