Enum pokemon_go_protobuf::POGOProtos_Networking_Responses::UpgradePokemonResponse_Result
[−]
[src]
pub enum UpgradePokemonResponse_Result { UNSET, SUCCESS, ERROR_POKEMON_NOT_FOUND, ERROR_INSUFFICIENT_RESOURCES, ERROR_UPGRADE_NOT_AVAILABLE, ERROR_POKEMON_IS_DEPLOYED, }
Variants
UNSET
SUCCESS
ERROR_POKEMON_NOT_FOUND
ERROR_INSUFFICIENT_RESOURCES
ERROR_UPGRADE_NOT_AVAILABLE
ERROR_POKEMON_IS_DEPLOYED
Trait Implementations
impl Clone for UpgradePokemonResponse_Result
[src]
fn clone(&self) -> UpgradePokemonResponse_Result
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 UpgradePokemonResponse_Result
[src]
fn eq(&self, __arg_0: &UpgradePokemonResponse_Result) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for UpgradePokemonResponse_Result
[src]
impl Debug for UpgradePokemonResponse_Result
[src]
impl Hash for UpgradePokemonResponse_Result
[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 UpgradePokemonResponse_Result
[src]
fn value(&self) -> i32
fn from_i32(value: i32) -> Option<UpgradePokemonResponse_Result>
fn values() -> &'static [Self]
fn enum_descriptor_static(
_: Option<UpgradePokemonResponse_Result>
) -> &'static EnumDescriptor
_: Option<UpgradePokemonResponse_Result>
) -> &'static EnumDescriptor