pub enum VariableAggregation {
VARIABLE_AGGREGATION_NONE = 0,
VARIABLE_AGGREGATION_SUM = 1,
VARIABLE_AGGREGATION_MEAN = 2,
VARIABLE_AGGREGATION_ONLY_FIRST_REPLICA = 3,
}
Variants§
VARIABLE_AGGREGATION_NONE = 0
VARIABLE_AGGREGATION_SUM = 1
VARIABLE_AGGREGATION_MEAN = 2
VARIABLE_AGGREGATION_ONLY_FIRST_REPLICA = 3
Trait Implementations§
Source§impl Clone for VariableAggregation
impl Clone for VariableAggregation
Source§fn clone(&self) -> VariableAggregation
fn clone(&self) -> VariableAggregation
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 VariableAggregation
impl Debug for VariableAggregation
Source§impl Default for VariableAggregation
impl Default for VariableAggregation
Source§impl Hash for VariableAggregation
impl Hash for VariableAggregation
Source§impl PartialEq for VariableAggregation
impl PartialEq for VariableAggregation
Source§impl ProtobufEnum for VariableAggregation
impl ProtobufEnum for VariableAggregation
Source§fn from_i32(value: i32) -> Option<VariableAggregation>
fn from_i32(value: i32) -> Option<VariableAggregation>
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 VariableAggregation
impl ProtobufValue for VariableAggregation
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 VariableAggregation
impl Eq for VariableAggregation
impl StructuralPartialEq for VariableAggregation
Auto Trait Implementations§
impl Freeze for VariableAggregation
impl RefUnwindSafe for VariableAggregation
impl Send for VariableAggregation
impl Sync for VariableAggregation
impl Unpin for VariableAggregation
impl UnwindSafe for VariableAggregation
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