Struct pokemon_go_protobuf::POGOProtos_Data_Battle::BattleParticipant
[−]
[src]
pub struct BattleParticipant { /* fields omitted */ }
Methods
impl BattleParticipant
[src]
fn new() -> BattleParticipant
fn default_instance() -> &'static BattleParticipant
fn clear_active_pokemon(&mut self)
fn has_active_pokemon(&self) -> bool
fn set_active_pokemon(&mut self, v: BattlePokemonInfo)
fn mut_active_pokemon(&mut self) -> &mut BattlePokemonInfo
fn take_active_pokemon(&mut self) -> BattlePokemonInfo
fn get_active_pokemon(&self) -> &BattlePokemonInfo
fn clear_trainer_public_profile(&mut self)
fn has_trainer_public_profile(&self) -> bool
fn set_trainer_public_profile(&mut self, v: PlayerPublicProfile)
fn mut_trainer_public_profile(&mut self) -> &mut PlayerPublicProfile
fn take_trainer_public_profile(&mut self) -> PlayerPublicProfile
fn get_trainer_public_profile(&self) -> &PlayerPublicProfile
fn clear_reverse_pokemon(&mut self)
fn set_reverse_pokemon(&mut self, v: RepeatedField<BattlePokemonInfo>)
fn mut_reverse_pokemon(&mut self) -> &mut RepeatedField<BattlePokemonInfo>
fn take_reverse_pokemon(&mut self) -> RepeatedField<BattlePokemonInfo>
fn get_reverse_pokemon(&self) -> &[BattlePokemonInfo]
fn clear_defeated_pokemon(&mut self)
fn set_defeated_pokemon(&mut self, v: RepeatedField<BattlePokemonInfo>)
fn mut_defeated_pokemon(&mut self) -> &mut RepeatedField<BattlePokemonInfo>
fn take_defeated_pokemon(&mut self) -> RepeatedField<BattlePokemonInfo>
fn get_defeated_pokemon(&self) -> &[BattlePokemonInfo]
Trait Implementations
impl Clone for BattleParticipant
[src]
fn clone(&self) -> BattleParticipant
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 BattleParticipant
[src]
fn default() -> BattleParticipant
Returns the "default value" for a type. Read more
impl Sync for BattleParticipant
[src]
impl Message for BattleParticipant
[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 BattleParticipant
[src]
fn new() -> BattleParticipant
fn descriptor_static(_: Option<BattleParticipant>) -> &'static MessageDescriptor
impl Clear for BattleParticipant
[src]
fn clear(&mut self)
impl PartialEq for BattleParticipant
[src]
fn eq(&self, other: &BattleParticipant) -> 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 !=
.