#[repr(i32)]pub enum FilterReducer {
And = 0,
Or = 1,
}Variants§
Implementations§
source§impl FilterReducer
impl FilterReducer
source§impl FilterReducer
impl FilterReducer
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 Clone for FilterReducer
impl Clone for FilterReducer
source§fn clone(&self) -> FilterReducer
fn clone(&self) -> FilterReducer
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 FilterReducer
impl Debug for FilterReducer
source§impl Default for FilterReducer
impl Default for FilterReducer
source§fn default() -> FilterReducer
fn default() -> FilterReducer
Returns the “default value” for a type. Read more
source§impl From<FilterReducer> for FilterReducer
impl From<FilterReducer> for FilterReducer
source§fn from(value: FilterReducer) -> Self
fn from(value: FilterReducer) -> Self
Converts to this type from the input type.
source§impl From<FilterReducer> for FilterReducer
impl From<FilterReducer> for FilterReducer
source§fn from(value: FilterReducer) -> Self
fn from(value: FilterReducer) -> Self
Converts to this type from the input type.
source§impl From<FilterReducer> for i32
impl From<FilterReducer> for i32
source§fn from(value: FilterReducer) -> i32
fn from(value: FilterReducer) -> i32
Converts to this type from the input type.
source§impl Hash for FilterReducer
impl Hash for FilterReducer
source§impl Ord for FilterReducer
impl Ord for FilterReducer
source§fn cmp(&self, other: &FilterReducer) -> Ordering
fn cmp(&self, other: &FilterReducer) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FilterReducer
impl PartialEq for FilterReducer
source§impl PartialOrd for FilterReducer
impl PartialOrd for FilterReducer
source§impl Serialize for FilterReducer
impl Serialize for FilterReducer
source§impl TryFrom<i32> for FilterReducer
impl TryFrom<i32> for FilterReducer
source§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
source§fn try_from(value: i32) -> Result<FilterReducer, DecodeError>
fn try_from(value: i32) -> Result<FilterReducer, DecodeError>
Performs the conversion.
impl Copy for FilterReducer
impl Eq for FilterReducer
impl StructuralPartialEq for FilterReducer
Auto Trait Implementations§
impl Freeze for FilterReducer
impl RefUnwindSafe for FilterReducer
impl Send for FilterReducer
impl Sync for FilterReducer
impl Unpin for FilterReducer
impl UnwindSafe for FilterReducer
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more