[−][src]Struct sc2_proto::sc2api::Request
Fields
request: Option<Request_oneof_request>
unknown_fields: UnknownFields
cached_size: CachedSize
Methods
impl Request[src]
impl Requestpub fn new() -> Request[src]
pub fn new() -> Requestpub fn clear_create_game(&mut self)[src]
pub fn clear_create_game(&mut self)pub fn has_create_game(&self) -> bool[src]
pub fn has_create_game(&self) -> boolpub fn set_create_game(&mut self, v: RequestCreateGame)[src]
pub fn set_create_game(&mut self, v: RequestCreateGame)pub fn mut_create_game(&mut self) -> &mut RequestCreateGame[src]
pub fn mut_create_game(&mut self) -> &mut RequestCreateGamepub fn take_create_game(&mut self) -> RequestCreateGame[src]
pub fn take_create_game(&mut self) -> RequestCreateGamepub fn get_create_game(&self) -> &RequestCreateGame[src]
pub fn get_create_game(&self) -> &RequestCreateGamepub fn clear_join_game(&mut self)[src]
pub fn clear_join_game(&mut self)pub fn has_join_game(&self) -> bool[src]
pub fn has_join_game(&self) -> boolpub fn set_join_game(&mut self, v: RequestJoinGame)[src]
pub fn set_join_game(&mut self, v: RequestJoinGame)pub fn mut_join_game(&mut self) -> &mut RequestJoinGame[src]
pub fn mut_join_game(&mut self) -> &mut RequestJoinGamepub fn take_join_game(&mut self) -> RequestJoinGame[src]
pub fn take_join_game(&mut self) -> RequestJoinGamepub fn get_join_game(&self) -> &RequestJoinGame[src]
pub fn get_join_game(&self) -> &RequestJoinGamepub fn clear_restart_game(&mut self)[src]
pub fn clear_restart_game(&mut self)pub fn has_restart_game(&self) -> bool[src]
pub fn has_restart_game(&self) -> boolpub fn set_restart_game(&mut self, v: RequestRestartGame)[src]
pub fn set_restart_game(&mut self, v: RequestRestartGame)pub fn mut_restart_game(&mut self) -> &mut RequestRestartGame[src]
pub fn mut_restart_game(&mut self) -> &mut RequestRestartGamepub fn take_restart_game(&mut self) -> RequestRestartGame[src]
pub fn take_restart_game(&mut self) -> RequestRestartGamepub fn get_restart_game(&self) -> &RequestRestartGame[src]
pub fn get_restart_game(&self) -> &RequestRestartGamepub fn clear_start_replay(&mut self)[src]
pub fn clear_start_replay(&mut self)pub fn has_start_replay(&self) -> bool[src]
pub fn has_start_replay(&self) -> boolpub fn set_start_replay(&mut self, v: RequestStartReplay)[src]
pub fn set_start_replay(&mut self, v: RequestStartReplay)pub fn mut_start_replay(&mut self) -> &mut RequestStartReplay[src]
pub fn mut_start_replay(&mut self) -> &mut RequestStartReplaypub fn take_start_replay(&mut self) -> RequestStartReplay[src]
pub fn take_start_replay(&mut self) -> RequestStartReplaypub fn get_start_replay(&self) -> &RequestStartReplay[src]
pub fn get_start_replay(&self) -> &RequestStartReplaypub fn clear_leave_game(&mut self)[src]
pub fn clear_leave_game(&mut self)pub fn has_leave_game(&self) -> bool[src]
pub fn has_leave_game(&self) -> boolpub fn set_leave_game(&mut self, v: RequestLeaveGame)[src]
pub fn set_leave_game(&mut self, v: RequestLeaveGame)pub fn mut_leave_game(&mut self) -> &mut RequestLeaveGame[src]
pub fn mut_leave_game(&mut self) -> &mut RequestLeaveGamepub fn take_leave_game(&mut self) -> RequestLeaveGame[src]
pub fn take_leave_game(&mut self) -> RequestLeaveGamepub fn get_leave_game(&self) -> &RequestLeaveGame[src]
pub fn get_leave_game(&self) -> &RequestLeaveGamepub fn clear_quick_save(&mut self)[src]
pub fn clear_quick_save(&mut self)pub fn has_quick_save(&self) -> bool[src]
pub fn has_quick_save(&self) -> boolpub fn set_quick_save(&mut self, v: RequestQuickSave)[src]
pub fn set_quick_save(&mut self, v: RequestQuickSave)pub fn mut_quick_save(&mut self) -> &mut RequestQuickSave[src]
pub fn mut_quick_save(&mut self) -> &mut RequestQuickSavepub fn take_quick_save(&mut self) -> RequestQuickSave[src]
pub fn take_quick_save(&mut self) -> RequestQuickSavepub fn get_quick_save(&self) -> &RequestQuickSave[src]
pub fn get_quick_save(&self) -> &RequestQuickSavepub fn clear_quick_load(&mut self)[src]
pub fn clear_quick_load(&mut self)pub fn has_quick_load(&self) -> bool[src]
pub fn has_quick_load(&self) -> boolpub fn set_quick_load(&mut self, v: RequestQuickLoad)[src]
pub fn set_quick_load(&mut self, v: RequestQuickLoad)pub fn mut_quick_load(&mut self) -> &mut RequestQuickLoad[src]
pub fn mut_quick_load(&mut self) -> &mut RequestQuickLoadpub fn take_quick_load(&mut self) -> RequestQuickLoad[src]
pub fn take_quick_load(&mut self) -> RequestQuickLoadpub fn get_quick_load(&self) -> &RequestQuickLoad[src]
pub fn get_quick_load(&self) -> &RequestQuickLoadpub fn clear_quit(&mut self)[src]
pub fn clear_quit(&mut self)pub fn has_quit(&self) -> bool[src]
pub fn has_quit(&self) -> boolpub fn set_quit(&mut self, v: RequestQuit)[src]
pub fn set_quit(&mut self, v: RequestQuit)pub fn mut_quit(&mut self) -> &mut RequestQuit[src]
pub fn mut_quit(&mut self) -> &mut RequestQuitpub fn take_quit(&mut self) -> RequestQuit[src]
pub fn take_quit(&mut self) -> RequestQuitpub fn get_quit(&self) -> &RequestQuit[src]
pub fn get_quit(&self) -> &RequestQuitpub fn clear_game_info(&mut self)[src]
pub fn clear_game_info(&mut self)pub fn has_game_info(&self) -> bool[src]
pub fn has_game_info(&self) -> boolpub fn set_game_info(&mut self, v: RequestGameInfo)[src]
pub fn set_game_info(&mut self, v: RequestGameInfo)pub fn mut_game_info(&mut self) -> &mut RequestGameInfo[src]
pub fn mut_game_info(&mut self) -> &mut RequestGameInfopub fn take_game_info(&mut self) -> RequestGameInfo[src]
pub fn take_game_info(&mut self) -> RequestGameInfopub fn get_game_info(&self) -> &RequestGameInfo[src]
pub fn get_game_info(&self) -> &RequestGameInfopub fn clear_observation(&mut self)[src]
pub fn clear_observation(&mut self)pub fn has_observation(&self) -> bool[src]
pub fn has_observation(&self) -> boolpub fn set_observation(&mut self, v: RequestObservation)[src]
pub fn set_observation(&mut self, v: RequestObservation)pub fn mut_observation(&mut self) -> &mut RequestObservation[src]
pub fn mut_observation(&mut self) -> &mut RequestObservationpub fn take_observation(&mut self) -> RequestObservation[src]
pub fn take_observation(&mut self) -> RequestObservationpub fn get_observation(&self) -> &RequestObservation[src]
pub fn get_observation(&self) -> &RequestObservationpub fn clear_action(&mut self)[src]
pub fn clear_action(&mut self)pub fn has_action(&self) -> bool[src]
pub fn has_action(&self) -> boolpub fn set_action(&mut self, v: RequestAction)[src]
pub fn set_action(&mut self, v: RequestAction)pub fn mut_action(&mut self) -> &mut RequestAction[src]
pub fn mut_action(&mut self) -> &mut RequestActionpub fn take_action(&mut self) -> RequestAction[src]
pub fn take_action(&mut self) -> RequestActionpub fn get_action(&self) -> &RequestAction[src]
pub fn get_action(&self) -> &RequestActionpub fn clear_obs_action(&mut self)[src]
pub fn clear_obs_action(&mut self)pub fn has_obs_action(&self) -> bool[src]
pub fn has_obs_action(&self) -> boolpub fn set_obs_action(&mut self, v: RequestObserverAction)[src]
pub fn set_obs_action(&mut self, v: RequestObserverAction)pub fn mut_obs_action(&mut self) -> &mut RequestObserverAction[src]
pub fn mut_obs_action(&mut self) -> &mut RequestObserverActionpub fn take_obs_action(&mut self) -> RequestObserverAction[src]
pub fn take_obs_action(&mut self) -> RequestObserverActionpub fn get_obs_action(&self) -> &RequestObserverAction[src]
pub fn get_obs_action(&self) -> &RequestObserverActionpub fn clear_step(&mut self)[src]
pub fn clear_step(&mut self)pub fn has_step(&self) -> bool[src]
pub fn has_step(&self) -> boolpub fn set_step(&mut self, v: RequestStep)[src]
pub fn set_step(&mut self, v: RequestStep)pub fn mut_step(&mut self) -> &mut RequestStep[src]
pub fn mut_step(&mut self) -> &mut RequestSteppub fn take_step(&mut self) -> RequestStep[src]
pub fn take_step(&mut self) -> RequestSteppub fn get_step(&self) -> &RequestStep[src]
pub fn get_step(&self) -> &RequestSteppub fn clear_data(&mut self)[src]
pub fn clear_data(&mut self)pub fn has_data(&self) -> bool[src]
pub fn has_data(&self) -> boolpub fn set_data(&mut self, v: RequestData)[src]
pub fn set_data(&mut self, v: RequestData)pub fn mut_data(&mut self) -> &mut RequestData[src]
pub fn mut_data(&mut self) -> &mut RequestDatapub fn take_data(&mut self) -> RequestData[src]
pub fn take_data(&mut self) -> RequestDatapub fn get_data(&self) -> &RequestData[src]
pub fn get_data(&self) -> &RequestDatapub fn clear_query(&mut self)[src]
pub fn clear_query(&mut self)pub fn has_query(&self) -> bool[src]
pub fn has_query(&self) -> boolpub fn set_query(&mut self, v: RequestQuery)[src]
pub fn set_query(&mut self, v: RequestQuery)pub fn mut_query(&mut self) -> &mut RequestQuery[src]
pub fn mut_query(&mut self) -> &mut RequestQuerypub fn take_query(&mut self) -> RequestQuery[src]
pub fn take_query(&mut self) -> RequestQuerypub fn get_query(&self) -> &RequestQuery[src]
pub fn get_query(&self) -> &RequestQuerypub fn clear_save_replay(&mut self)[src]
pub fn clear_save_replay(&mut self)pub fn has_save_replay(&self) -> bool[src]
pub fn has_save_replay(&self) -> boolpub fn set_save_replay(&mut self, v: RequestSaveReplay)[src]
pub fn set_save_replay(&mut self, v: RequestSaveReplay)pub fn mut_save_replay(&mut self) -> &mut RequestSaveReplay[src]
pub fn mut_save_replay(&mut self) -> &mut RequestSaveReplaypub fn take_save_replay(&mut self) -> RequestSaveReplay[src]
pub fn take_save_replay(&mut self) -> RequestSaveReplaypub fn get_save_replay(&self) -> &RequestSaveReplay[src]
pub fn get_save_replay(&self) -> &RequestSaveReplaypub fn clear_map_command(&mut self)[src]
pub fn clear_map_command(&mut self)pub fn has_map_command(&self) -> bool[src]
pub fn has_map_command(&self) -> boolpub fn set_map_command(&mut self, v: RequestMapCommand)[src]
pub fn set_map_command(&mut self, v: RequestMapCommand)pub fn mut_map_command(&mut self) -> &mut RequestMapCommand[src]
pub fn mut_map_command(&mut self) -> &mut RequestMapCommandpub fn take_map_command(&mut self) -> RequestMapCommand[src]
pub fn take_map_command(&mut self) -> RequestMapCommandpub fn get_map_command(&self) -> &RequestMapCommand[src]
pub fn get_map_command(&self) -> &RequestMapCommandpub fn clear_replay_info(&mut self)[src]
pub fn clear_replay_info(&mut self)pub fn has_replay_info(&self) -> bool[src]
pub fn has_replay_info(&self) -> boolpub fn set_replay_info(&mut self, v: RequestReplayInfo)[src]
pub fn set_replay_info(&mut self, v: RequestReplayInfo)pub fn mut_replay_info(&mut self) -> &mut RequestReplayInfo[src]
pub fn mut_replay_info(&mut self) -> &mut RequestReplayInfopub fn take_replay_info(&mut self) -> RequestReplayInfo[src]
pub fn take_replay_info(&mut self) -> RequestReplayInfopub fn get_replay_info(&self) -> &RequestReplayInfo[src]
pub fn get_replay_info(&self) -> &RequestReplayInfopub fn clear_available_maps(&mut self)[src]
pub fn clear_available_maps(&mut self)pub fn has_available_maps(&self) -> bool[src]
pub fn has_available_maps(&self) -> boolpub fn set_available_maps(&mut self, v: RequestAvailableMaps)[src]
pub fn set_available_maps(&mut self, v: RequestAvailableMaps)pub fn mut_available_maps(&mut self) -> &mut RequestAvailableMaps[src]
pub fn mut_available_maps(&mut self) -> &mut RequestAvailableMapspub fn take_available_maps(&mut self) -> RequestAvailableMaps[src]
pub fn take_available_maps(&mut self) -> RequestAvailableMapspub fn get_available_maps(&self) -> &RequestAvailableMaps[src]
pub fn get_available_maps(&self) -> &RequestAvailableMapspub fn clear_save_map(&mut self)[src]
pub fn clear_save_map(&mut self)pub fn has_save_map(&self) -> bool[src]
pub fn has_save_map(&self) -> boolpub fn set_save_map(&mut self, v: RequestSaveMap)[src]
pub fn set_save_map(&mut self, v: RequestSaveMap)pub fn mut_save_map(&mut self) -> &mut RequestSaveMap[src]
pub fn mut_save_map(&mut self) -> &mut RequestSaveMappub fn take_save_map(&mut self) -> RequestSaveMap[src]
pub fn take_save_map(&mut self) -> RequestSaveMappub fn get_save_map(&self) -> &RequestSaveMap[src]
pub fn get_save_map(&self) -> &RequestSaveMappub fn clear_ping(&mut self)[src]
pub fn clear_ping(&mut self)pub fn has_ping(&self) -> bool[src]
pub fn has_ping(&self) -> boolpub fn set_ping(&mut self, v: RequestPing)[src]
pub fn set_ping(&mut self, v: RequestPing)pub fn mut_ping(&mut self) -> &mut RequestPing[src]
pub fn mut_ping(&mut self) -> &mut RequestPingpub fn take_ping(&mut self) -> RequestPing[src]
pub fn take_ping(&mut self) -> RequestPingpub fn get_ping(&self) -> &RequestPing[src]
pub fn get_ping(&self) -> &RequestPingpub fn clear_debug(&mut self)[src]
pub fn clear_debug(&mut self)pub fn has_debug(&self) -> bool[src]
pub fn has_debug(&self) -> boolpub fn set_debug(&mut self, v: RequestDebug)[src]
pub fn set_debug(&mut self, v: RequestDebug)pub fn mut_debug(&mut self) -> &mut RequestDebug[src]
pub fn mut_debug(&mut self) -> &mut RequestDebugpub fn take_debug(&mut self) -> RequestDebug[src]
pub fn take_debug(&mut self) -> RequestDebugpub fn get_debug(&self) -> &RequestDebug[src]
pub fn get_debug(&self) -> &RequestDebugpub fn clear_id(&mut self)[src]
pub fn clear_id(&mut self)pub fn has_id(&self) -> bool[src]
pub fn has_id(&self) -> boolpub fn set_id(&mut self, v: u32)[src]
pub fn set_id(&mut self, v: u32)pub fn get_id(&self) -> u32[src]
pub fn get_id(&self) -> u32Trait Implementations
impl Default for Request[src]
impl Default for Requestimpl PartialEq<Request> for Request[src]
impl PartialEq<Request> for Requestimpl Clone for Request[src]
impl Clone for Requestfn clone(&self) -> Request[src]
fn clone(&self) -> Requestfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for Request[src]
impl Debug for Requestimpl Message for Request[src]
impl Message for Requestfn is_initialized(&self) -> bool[src]
fn is_initialized(&self) -> boolfn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>fn compute_size(&self) -> u32[src]
fn compute_size(&self) -> u32fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>fn get_cached_size(&self) -> u32[src]
fn get_cached_size(&self) -> u32fn get_unknown_fields(&self) -> &UnknownFields[src]
fn get_unknown_fields(&self) -> &UnknownFieldsfn mut_unknown_fields(&mut self) -> &mut UnknownFields[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFieldsfn as_any(&self) -> &dyn Any[src]
fn as_any(&self) -> &dyn Anyfn as_any_mut(&mut self) -> &mut dyn Any[src]
fn as_any_mut(&mut self) -> &mut dyn Anyfn into_any(self: Box<Self>) -> Box<dyn Any>[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>fn descriptor(&self) -> &'static MessageDescriptor[src]
fn descriptor(&self) -> &'static MessageDescriptorfn new() -> Request[src]
fn new() -> Requestfn descriptor_static() -> &'static MessageDescriptor[src]
fn descriptor_static() -> &'static MessageDescriptorfn default_instance() -> &'static Request[src]
fn default_instance() -> &'static Requestfn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>Write the message to the stream. Read more
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>Write the message to the stream prepending the message with message length encoded as varint. Read more
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>Write the message to the vec, prepend the message with message length encoded as varint. Read more
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>Update this message object with fields read from given stream.
fn check_initialized(&self) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>Check if all required fields of this object are initialized.
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>Write the message to the writer.
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>Write the message to bytes vec.
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>Write the message to bytes vec.
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>Write the message to the writer, prepend the message with message length encoded as varint. Read more
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>Write the message to the bytes vec, prepend the message with message length encoded as varint. Read more
fn type_id(&self) -> TypeId
fn type_id(&self) -> TypeIdGet type id for downcasting.
impl Clear for Request[src]
impl Clear for Requestimpl ProtobufValue for Request[src]
impl ProtobufValue for Requestfn as_ref(&self) -> ProtobufValueRef[src]
fn as_ref(&self) -> ProtobufValueReffn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> boolfn as_ref_copy(&self) -> ProtobufValueRef<'static>
fn as_ref_copy(&self) -> ProtobufValueRef<'static>Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T> From for T[src]
impl<T> From for Timpl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeIdimpl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut T