#[repr(i32)]pub enum AggregateMode {
Partial = 0,
Final = 1,
FinalPartitioned = 2,
Single = 3,
SinglePartitioned = 4,
}Variants§
Implementations§
source§impl AggregateMode
impl AggregateMode
source§impl AggregateMode
impl AggregateMode
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 AggregateMode
impl Clone for AggregateMode
source§fn clone(&self) -> AggregateMode
fn clone(&self) -> AggregateMode
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 AggregateMode
impl Debug for AggregateMode
source§impl Default for AggregateMode
impl Default for AggregateMode
source§fn default() -> AggregateMode
fn default() -> AggregateMode
Returns the “default value” for a type. Read more
source§impl From<AggregateMode> for i32
impl From<AggregateMode> for i32
source§fn from(value: AggregateMode) -> i32
fn from(value: AggregateMode) -> i32
Converts to this type from the input type.
source§impl Hash for AggregateMode
impl Hash for AggregateMode
source§impl Ord for AggregateMode
impl Ord for AggregateMode
source§fn cmp(&self, other: &AggregateMode) -> Ordering
fn cmp(&self, other: &AggregateMode) -> 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 AggregateMode
impl PartialEq for AggregateMode
source§fn eq(&self, other: &AggregateMode) -> bool
fn eq(&self, other: &AggregateMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for AggregateMode
impl PartialOrd for AggregateMode
source§fn partial_cmp(&self, other: &AggregateMode) -> Option<Ordering>
fn partial_cmp(&self, other: &AggregateMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for AggregateMode
impl TryFrom<i32> for AggregateMode
§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
source§fn try_from(value: i32) -> Result<AggregateMode, DecodeError>
fn try_from(value: i32) -> Result<AggregateMode, DecodeError>
Performs the conversion.
impl Copy for AggregateMode
impl Eq for AggregateMode
impl StructuralEq for AggregateMode
impl StructuralPartialEq for AggregateMode
Auto Trait Implementations§
impl RefUnwindSafe for AggregateMode
impl Send for AggregateMode
impl Sync for AggregateMode
impl Unpin for AggregateMode
impl UnwindSafe for AggregateMode
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.