pub enum AggregationType {
AGGREGATION_UNSET = 0,
AGGREGATION_AVG = 1,
AGGREGATION_MEDIAN = 2,
AGGREGATION_MIN = 3,
AGGREGATION_MAX = 4,
}
Variants§
AGGREGATION_UNSET = 0
AGGREGATION_AVG = 1
AGGREGATION_MEDIAN = 2
AGGREGATION_MIN = 3
AGGREGATION_MAX = 4
Trait Implementations§
Source§impl Clone for AggregationType
impl Clone for AggregationType
Source§fn clone(&self) -> AggregationType
fn clone(&self) -> AggregationType
Returns a duplicate 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 AggregationType
impl Debug for AggregationType
Source§impl Default for AggregationType
impl Default for AggregationType
Source§impl Hash for AggregationType
impl Hash for AggregationType
Source§impl PartialEq for AggregationType
impl PartialEq for AggregationType
Source§impl ProtobufEnum for AggregationType
impl ProtobufEnum for AggregationType
Source§fn from_i32(value: i32) -> Option<AggregationType>
fn from_i32(value: i32) -> Option<AggregationType>
Try to create an enum from
i32
value.
Return None
if value is unknown.Source§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
Source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
Source§impl ProtobufValue for AggregationType
impl ProtobufValue for AggregationType
Source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
Source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
Source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for AggregationType
impl Eq for AggregationType
impl StructuralPartialEq for AggregationType
Auto Trait Implementations§
impl Freeze for AggregationType
impl RefUnwindSafe for AggregationType
impl Send for AggregationType
impl Sync for AggregationType
impl Unpin for AggregationType
impl UnwindSafe for AggregationType
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