Enum grpc_etcd::rpc::AlarmRequest_AlarmAction
[−]
[src]
pub enum AlarmRequest_AlarmAction {
GET,
ACTIVATE,
DEACTIVATE,
}Variants
GETACTIVATEDEACTIVATETrait Implementations
impl Clone for AlarmRequest_AlarmAction[src]
fn clone(&self) -> AlarmRequest_AlarmAction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for AlarmRequest_AlarmAction[src]
fn eq(&self, __arg_0: &AlarmRequest_AlarmAction) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for AlarmRequest_AlarmAction[src]
impl Debug for AlarmRequest_AlarmAction[src]
impl Hash for AlarmRequest_AlarmAction[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl ProtobufEnum for AlarmRequest_AlarmAction[src]
fn value(&self) -> i32
fn from_i32(value: i32) -> Option<AlarmRequest_AlarmAction>
fn values() -> &'static [Self]
fn enum_descriptor_static(
_: Option<AlarmRequest_AlarmAction>
) -> &'static EnumDescriptor
_: Option<AlarmRequest_AlarmAction>
) -> &'static EnumDescriptor