Enum pokemon_go_protobuf::POGOProtos_Networking_Responses::StartGymBattleResponse_Result
[−]
[src]
pub enum StartGymBattleResponse_Result { UNSET, SUCCESS, ERROR_GYM_NOT_FOUND, ERROR_GYM_NEUTRAL, ERROR_GYM_WRONG_TEAM, ERROR_GYM_EMPTY, ERROR_INVALID_DEFENDER, ERROR_TRAINING_INVALID_ATTACKER_COUNT, ERROR_ALL_POKEMON_FAINTED, ERROR_TOO_MANY_BATTLES, ERROR_TOO_MANY_PLAYERS, ERROR_GYM_BATTLE_LOCKOUT, ERROR_PLAYER_BELOW_MINIMUM_LEVEL, ERROR_NOT_IN_RANGE, }
Variants
UNSET
SUCCESS
ERROR_GYM_NOT_FOUND
ERROR_GYM_NEUTRAL
ERROR_GYM_WRONG_TEAM
ERROR_GYM_EMPTY
ERROR_INVALID_DEFENDER
ERROR_TRAINING_INVALID_ATTACKER_COUNT
ERROR_ALL_POKEMON_FAINTED
ERROR_TOO_MANY_BATTLES
ERROR_TOO_MANY_PLAYERS
ERROR_GYM_BATTLE_LOCKOUT
ERROR_PLAYER_BELOW_MINIMUM_LEVEL
ERROR_NOT_IN_RANGE
Trait Implementations
impl Clone for StartGymBattleResponse_Result
[src]
fn clone(&self) -> StartGymBattleResponse_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 StartGymBattleResponse_Result
[src]
fn eq(&self, __arg_0: &StartGymBattleResponse_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 StartGymBattleResponse_Result
[src]
impl Debug for StartGymBattleResponse_Result
[src]
impl Hash for StartGymBattleResponse_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 StartGymBattleResponse_Result
[src]
fn value(&self) -> i32
fn from_i32(value: i32) -> Option<StartGymBattleResponse_Result>
fn values() -> &'static [Self]
fn enum_descriptor_static(
_: Option<StartGymBattleResponse_Result>
) -> &'static EnumDescriptor
_: Option<StartGymBattleResponse_Result>
) -> &'static EnumDescriptor