Enum protos::matcher::MatchValueTypes
source · pub enum MatchValueTypes {
MATCH_VALUE_TYPE_UNKNOWN,
MATCH_VALUE_TYPE_STRING,
MATCH_VALUE_TYPE_INT,
MATCH_VALUE_TYPE_FLOAT,
MATCH_VALUE_TYPE_BOOL,
MATCH_VALUE_TYPE_OBJECT,
MATCH_VALUE_TYPE_ARRAY,
}Expand description
Used as an arg for IS_TYPE match type
Variants§
MATCH_VALUE_TYPE_UNKNOWN
MATCH_VALUE_TYPE_STRING
MATCH_VALUE_TYPE_INT
MATCH_VALUE_TYPE_FLOAT
MATCH_VALUE_TYPE_BOOL
MATCH_VALUE_TYPE_OBJECT
MATCH_VALUE_TYPE_ARRAY
Trait Implementations§
source§impl Clone for MatchValueTypes
impl Clone for MatchValueTypes
source§fn clone(&self) -> MatchValueTypes
fn clone(&self) -> MatchValueTypes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MatchValueTypes
impl Debug for MatchValueTypes
source§impl Default for MatchValueTypes
impl Default for MatchValueTypes
source§impl Enum for MatchValueTypes
impl Enum for MatchValueTypes
source§fn from_i32(value: i32) -> Option<MatchValueTypes>
fn from_i32(value: i32) -> Option<MatchValueTypes>
Try to create an enum from
i32 value.
Return None if value is unknown.source§const VALUES: &'static [MatchValueTypes] = _
const VALUES: &'static [MatchValueTypes] = _
All enum values for enum type.
source§impl EnumFull for MatchValueTypes
impl EnumFull for MatchValueTypes
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for MatchValueTypes
impl Hash for MatchValueTypes
source§impl PartialEq<MatchValueTypes> for MatchValueTypes
impl PartialEq<MatchValueTypes> for MatchValueTypes
source§fn eq(&self, other: &MatchValueTypes) -> bool
fn eq(&self, other: &MatchValueTypes) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for MatchValueTypes
impl Eq for MatchValueTypes
impl StructuralEq for MatchValueTypes
impl StructuralPartialEq for MatchValueTypes
Auto Trait Implementations§
impl RefUnwindSafe for MatchValueTypes
impl Send for MatchValueTypes
impl Sync for MatchValueTypes
impl Unpin for MatchValueTypes
impl UnwindSafe for MatchValueTypes
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