pub struct Condition {
pub condition_key: String,
pub condition_type: String,
pub condition_value: String,
}
Expand description
Contains an array of triplets made up of a condition type (such as StringEquals
), a key, and a value. Conditions are used to filter resources in a selection that is assigned to a backup plan.
Fields§
§condition_key: String
The key in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting"
, "ec2:ResourceTag/Department"
is the key.
condition_type: String
An operation, such as StringEquals
, that is applied to a key-value pair used to filter resources in a selection.
condition_value: String
The value in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting"
, "accounting"
is the value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Condition
impl<'de> Deserialize<'de> for Condition
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 Condition
Auto Trait Implementations§
impl Freeze for Condition
impl RefUnwindSafe for Condition
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnwindSafe for Condition
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