#[repr(i32)]pub enum Operator {
Show 16 variants
Unspecified = 0,
Eq = 1,
Neq = 2,
Gt = 3,
Gte = 4,
Lt = 5,
Lte = 6,
Contains = 7,
Prefix = 8,
Suffix = 9,
Regex = 10,
In = 11,
NotIn = 12,
Between = 13,
NotBetween = 14,
NotNull = 15,
}Variants§
Unspecified = 0
Eq = 1
Neq = 2
Gt = 3
Gte = 4
Lt = 5
Lte = 6
Contains = 7
Prefix = 8
Suffix = 9
Regex = 10
In = 11
NotIn = 12
Between = 13
NotBetween = 14
NotNull = 15
Implementations§
Source§impl Operator
impl Operator
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
§impl<'de> Deserialize<'de> for Operator
impl<'de> Deserialize<'de> for Operator
§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 Ord for Operator
impl Ord for Operator
Source§impl PartialOrd for Operator
impl PartialOrd for Operator
impl Copy for Operator
impl Eq for Operator
impl StructuralPartialEq for Operator
Auto Trait Implementations§
impl Freeze for Operator
impl RefUnwindSafe for Operator
impl Send for Operator
impl Sync for Operator
impl Unpin for Operator
impl UnwindSafe for Operator
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