Struct pokemon_go_protobuf::POGOProtos_Data_Battle::BattleAction
[−]
[src]
pub struct BattleAction { /* fields omitted */ }
Methods
impl BattleAction
[src]
fn new() -> BattleAction
fn default_instance() -> &'static BattleAction
fn clear_Type(&mut self)
fn has_Type(&self) -> bool
fn set_Type(&mut self, v: BattleActionType)
fn get_Type(&self) -> BattleActionType
fn clear_action_start_ms(&mut self)
fn has_action_start_ms(&self) -> bool
fn set_action_start_ms(&mut self, v: i64)
fn get_action_start_ms(&self) -> i64
fn clear_duration_ms(&mut self)
fn has_duration_ms(&self) -> bool
fn set_duration_ms(&mut self, v: i32)
fn get_duration_ms(&self) -> i32
fn clear_energy_delta(&mut self)
fn has_energy_delta(&self) -> bool
fn set_energy_delta(&mut self, v: i32)
fn get_energy_delta(&self) -> i32
fn clear_attacker_index(&mut self)
fn has_attacker_index(&self) -> bool
fn set_attacker_index(&mut self, v: i32)
fn get_attacker_index(&self) -> i32
fn clear_target_index(&mut self)
fn has_target_index(&self) -> bool
fn set_target_index(&mut self, v: i32)
fn get_target_index(&self) -> i32
fn clear_active_pokemon_id(&mut self)
fn has_active_pokemon_id(&self) -> bool
fn set_active_pokemon_id(&mut self, v: u64)
fn get_active_pokemon_id(&self) -> u64
fn clear_player_joined(&mut self)
fn has_player_joined(&self) -> bool
fn set_player_joined(&mut self, v: BattleParticipant)
fn mut_player_joined(&mut self) -> &mut BattleParticipant
fn take_player_joined(&mut self) -> BattleParticipant
fn get_player_joined(&self) -> &BattleParticipant
fn clear_battle_results(&mut self)
fn has_battle_results(&self) -> bool
fn set_battle_results(&mut self, v: BattleResults)
fn mut_battle_results(&mut self) -> &mut BattleResults
fn take_battle_results(&mut self) -> BattleResults
fn get_battle_results(&self) -> &BattleResults
fn clear_damage_windows_start_timestamp_mss(&mut self)
fn has_damage_windows_start_timestamp_mss(&self) -> bool
fn set_damage_windows_start_timestamp_mss(&mut self, v: i64)
fn get_damage_windows_start_timestamp_mss(&self) -> i64
fn clear_damage_windows_end_timestamp_mss(&mut self)
fn has_damage_windows_end_timestamp_mss(&self) -> bool
fn set_damage_windows_end_timestamp_mss(&mut self, v: i64)
fn get_damage_windows_end_timestamp_mss(&self) -> i64
fn clear_player_left(&mut self)
fn has_player_left(&self) -> bool
fn set_player_left(&mut self, v: BattleParticipant)
fn mut_player_left(&mut self) -> &mut BattleParticipant
fn take_player_left(&mut self) -> BattleParticipant
fn get_player_left(&self) -> &BattleParticipant
fn clear_target_pokemon_id(&mut self)
fn has_target_pokemon_id(&self) -> bool
fn set_target_pokemon_id(&mut self, v: u64)
fn get_target_pokemon_id(&self) -> u64
Trait Implementations
impl Clone for BattleAction
[src]
fn clone(&self) -> BattleAction
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 BattleAction
[src]
fn default() -> BattleAction
Returns the "default value" for a type. Read more
impl Sync for BattleAction
[src]
impl Message for BattleAction
[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 BattleAction
[src]
fn new() -> BattleAction
fn descriptor_static(_: Option<BattleAction>) -> &'static MessageDescriptor
impl Clear for BattleAction
[src]
fn clear(&mut self)
impl PartialEq for BattleAction
[src]
fn eq(&self, other: &BattleAction) -> 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 !=
.