pub struct Criterion {
pub contains: Option<Vec<String>>,
pub eq: Option<Vec<String>>,
pub exists: Option<bool>,
pub neq: Option<Vec<String>>,
}
Expand description
The criteria to use in the filter that defines the archive rule.
Fields§
§contains: Option<Vec<String>>
A "contains" operator to match for the filter used to create the rule.
eq: Option<Vec<String>>
An "equals" operator to match for the filter used to create the rule.
exists: Option<bool>
An "exists" operator to match for the filter used to create the rule.
neq: Option<Vec<String>>
A "not equals" operator to match for the filter used to create the rule.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Criterion
impl<'de> Deserialize<'de> for Criterion
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 Criterion
Auto Trait Implementations§
impl Freeze for Criterion
impl RefUnwindSafe for Criterion
impl Send for Criterion
impl Sync for Criterion
impl Unpin for Criterion
impl UnwindSafe for Criterion
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