#[repr(i32)]pub enum Condition {
EqualTo = 1,
NotEqualTo = 2,
GreaterThan = 3,
GreaterThanEqualTo = 4,
LesserThan = 5,
LesserThanEqualTo = 6,
}Variants§
EqualTo = 1
NotEqualTo = 2
GreaterThan = 3
GreaterThanEqualTo = 4
LesserThan = 5
LesserThanEqualTo = 6
Implementations§
Source§impl Condition
impl Condition
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§
Source§impl Ord for Condition
impl Ord for Condition
Source§impl PartialOrd for Condition
impl PartialOrd for Condition
impl Copy for Condition
impl Eq for Condition
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 UnsafeUnpin 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