Struct pokemon_go_protobuf::POGOProtos_Data_Battle::BattleResults
[−]
[src]
pub struct BattleResults { /* fields omitted */ }
Methods
impl BattleResults
[src]
fn new() -> BattleResults
fn default_instance() -> &'static BattleResults
fn clear_gym_state(&mut self)
fn has_gym_state(&self) -> bool
fn set_gym_state(&mut self, v: GymState)
fn mut_gym_state(&mut self) -> &mut GymState
fn take_gym_state(&mut self) -> GymState
fn get_gym_state(&self) -> &GymState
fn clear_attackers(&mut self)
fn set_attackers(&mut self, v: RepeatedField<BattleParticipant>)
fn mut_attackers(&mut self) -> &mut RepeatedField<BattleParticipant>
fn take_attackers(&mut self) -> RepeatedField<BattleParticipant>
fn get_attackers(&self) -> &[BattleParticipant]
fn clear_player_experience_awarded(&mut self)
fn set_player_experience_awarded(&mut self, v: Vec<i32>)
fn mut_player_experience_awarded(&mut self) -> &mut Vec<i32>
fn take_player_experience_awarded(&mut self) -> Vec<i32>
fn get_player_experience_awarded(&self) -> &[i32]
fn clear_next_defender_pokemon_id(&mut self)
fn has_next_defender_pokemon_id(&self) -> bool
fn set_next_defender_pokemon_id(&mut self, v: i64)
fn get_next_defender_pokemon_id(&self) -> i64
fn clear_gym_points_delta(&mut self)
fn has_gym_points_delta(&self) -> bool
fn set_gym_points_delta(&mut self, v: i32)
fn get_gym_points_delta(&self) -> i32
Trait Implementations
impl Clone for BattleResults
[src]
fn clone(&self) -> BattleResults
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 Default for BattleResults
[src]
fn default() -> BattleResults
Returns the "default value" for a type. Read more
impl Sync for BattleResults
[src]
impl Message for BattleResults
[src]
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn type_id(&self) -> TypeId
fn as_any(&self) -> &Any
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer(
&self,
w: &mut Write
) -> Result<(), ProtobufError>
&self,
w: &mut Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn as_any_mut(&mut self) -> &mut Any + 'static
fn into_any(self: Box<Self>) -> Box<Any + 'static>
impl MessageStatic for BattleResults
[src]
fn new() -> BattleResults
fn descriptor_static(_: Option<BattleResults>) -> &'static MessageDescriptor
impl Clear for BattleResults
[src]
fn clear(&mut self)
impl PartialEq for BattleResults
[src]
fn eq(&self, other: &BattleResults) -> 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 !=
.