Enum kanidmd_lib::filter::FC
source · pub enum FC<'a> {
Eq(&'a str, PartialValue),
Sub(&'a str, PartialValue),
Pres(&'a str),
LessThan(&'a str, PartialValue),
Or(Vec<FC<'a>>),
And(Vec<FC<'a>>),
Inclusion(Vec<FC<'a>>),
AndNot(Box<FC<'a>>),
SelfUuid,
}
Expand description
This is the short-form for tests and internal filters that can then be transformed into a filter for the server to use.
Variants§
Eq(&'a str, PartialValue)
Sub(&'a str, PartialValue)
Pres(&'a str)
LessThan(&'a str, PartialValue)
Or(Vec<FC<'a>>)
And(Vec<FC<'a>>)
Inclusion(Vec<FC<'a>>)
AndNot(Box<FC<'a>>)
SelfUuid
Trait Implementations§
source§impl<'de: 'a, 'a> Deserialize<'de> for FC<'a>
impl<'de: 'a, 'a> Deserialize<'de> for FC<'a>
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