pub struct IntegrationStatusTraitsPdb {
pub configuration: Option<BTreeMap<String, Value>>,
pub enabled: Option<bool>,
pub max_unavailable: Option<String>,
pub min_available: Option<String>,
}Expand description
The configuration of PDB trait
Fields§
§configuration: Option<BTreeMap<String, Value>>Legacy trait configuration parameters.
Deprecated: for backward compatibility.
enabled: Option<bool>Can be used to enable or disable a trait. All traits share this common property.
The number of pods for the Integration that can be unavailable after an eviction.
It can be either an absolute number or a percentage (default 1 if min-available is also not set).
Only one of max-unavailable and min-available can be specified.
min_available: Option<String>The number of pods for the Integration that must still be available after an eviction.
It can be either an absolute number or a percentage.
Only one of min-available and max-unavailable can be specified.
Trait Implementations§
Source§impl Clone for IntegrationStatusTraitsPdb
impl Clone for IntegrationStatusTraitsPdb
Source§fn clone(&self) -> IntegrationStatusTraitsPdb
fn clone(&self) -> IntegrationStatusTraitsPdb
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 IntegrationStatusTraitsPdb
impl Debug for IntegrationStatusTraitsPdb
Source§impl Default for IntegrationStatusTraitsPdb
impl Default for IntegrationStatusTraitsPdb
Source§fn default() -> IntegrationStatusTraitsPdb
fn default() -> IntegrationStatusTraitsPdb
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntegrationStatusTraitsPdb
impl<'de> Deserialize<'de> for IntegrationStatusTraitsPdb
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 IntegrationStatusTraitsPdb
Auto Trait Implementations§
impl Freeze for IntegrationStatusTraitsPdb
impl RefUnwindSafe for IntegrationStatusTraitsPdb
impl Send for IntegrationStatusTraitsPdb
impl Sync for IntegrationStatusTraitsPdb
impl Unpin for IntegrationStatusTraitsPdb
impl UnwindSafe for IntegrationStatusTraitsPdb
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