[−][src]Struct sc2_proto::sc2api::Response
Fields
response: Option<Response_oneof_response>
unknown_fields: UnknownFields
cached_size: CachedSize
Methods
impl Response[src]
impl Responsepub fn new() -> Response[src]
pub fn new() -> Responsepub 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: ResponseCreateGame)[src]
pub fn set_create_game(&mut self, v: ResponseCreateGame)pub fn mut_create_game(&mut self) -> &mut ResponseCreateGame[src]
pub fn mut_create_game(&mut self) -> &mut ResponseCreateGamepub fn take_create_game(&mut self) -> ResponseCreateGame[src]
pub fn take_create_game(&mut self) -> ResponseCreateGamepub fn get_create_game(&self) -> &ResponseCreateGame[src]
pub fn get_create_game(&self) -> &ResponseCreateGamepub 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: ResponseJoinGame)[src]
pub fn set_join_game(&mut self, v: ResponseJoinGame)pub fn mut_join_game(&mut self) -> &mut ResponseJoinGame[src]
pub fn mut_join_game(&mut self) -> &mut ResponseJoinGamepub fn take_join_game(&mut self) -> ResponseJoinGame[src]
pub fn take_join_game(&mut self) -> ResponseJoinGamepub fn get_join_game(&self) -> &ResponseJoinGame[src]
pub fn get_join_game(&self) -> &ResponseJoinGamepub 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: ResponseRestartGame)[src]
pub fn set_restart_game(&mut self, v: ResponseRestartGame)pub fn mut_restart_game(&mut self) -> &mut ResponseRestartGame[src]
pub fn mut_restart_game(&mut self) -> &mut ResponseRestartGamepub fn take_restart_game(&mut self) -> ResponseRestartGame[src]
pub fn take_restart_game(&mut self) -> ResponseRestartGamepub fn get_restart_game(&self) -> &ResponseRestartGame[src]
pub fn get_restart_game(&self) -> &ResponseRestartGamepub 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: ResponseStartReplay)[src]
pub fn set_start_replay(&mut self, v: ResponseStartReplay)pub fn mut_start_replay(&mut self) -> &mut ResponseStartReplay[src]
pub fn mut_start_replay(&mut self) -> &mut ResponseStartReplaypub fn take_start_replay(&mut self) -> ResponseStartReplay[src]
pub fn take_start_replay(&mut self) -> ResponseStartReplaypub fn get_start_replay(&self) -> &ResponseStartReplay[src]
pub fn get_start_replay(&self) -> &ResponseStartReplaypub 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: ResponseLeaveGame)[src]
pub fn set_leave_game(&mut self, v: ResponseLeaveGame)pub fn mut_leave_game(&mut self) -> &mut ResponseLeaveGame[src]
pub fn mut_leave_game(&mut self) -> &mut ResponseLeaveGamepub fn take_leave_game(&mut self) -> ResponseLeaveGame[src]
pub fn take_leave_game(&mut self) -> ResponseLeaveGamepub fn get_leave_game(&self) -> &ResponseLeaveGame[src]
pub fn get_leave_game(&self) -> &ResponseLeaveGamepub 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: ResponseQuickSave)[src]
pub fn set_quick_save(&mut self, v: ResponseQuickSave)pub fn mut_quick_save(&mut self) -> &mut ResponseQuickSave[src]
pub fn mut_quick_save(&mut self) -> &mut ResponseQuickSavepub fn take_quick_save(&mut self) -> ResponseQuickSave[src]
pub fn take_quick_save(&mut self) -> ResponseQuickSavepub fn get_quick_save(&self) -> &ResponseQuickSave[src]
pub fn get_quick_save(&self) -> &ResponseQuickSavepub 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: ResponseQuickLoad)[src]
pub fn set_quick_load(&mut self, v: ResponseQuickLoad)pub fn mut_quick_load(&mut self) -> &mut ResponseQuickLoad[src]
pub fn mut_quick_load(&mut self) -> &mut ResponseQuickLoadpub fn take_quick_load(&mut self) -> ResponseQuickLoad[src]
pub fn take_quick_load(&mut self) -> ResponseQuickLoadpub fn get_quick_load(&self) -> &ResponseQuickLoad[src]
pub fn get_quick_load(&self) -> &ResponseQuickLoadpub 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: ResponseQuit)[src]
pub fn set_quit(&mut self, v: ResponseQuit)pub fn mut_quit(&mut self) -> &mut ResponseQuit[src]
pub fn mut_quit(&mut self) -> &mut ResponseQuitpub fn take_quit(&mut self) -> ResponseQuit[src]
pub fn take_quit(&mut self) -> ResponseQuitpub fn get_quit(&self) -> &ResponseQuit[src]
pub fn get_quit(&self) -> &ResponseQuitpub 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: ResponseGameInfo)[src]
pub fn set_game_info(&mut self, v: ResponseGameInfo)pub fn mut_game_info(&mut self) -> &mut ResponseGameInfo[src]
pub fn mut_game_info(&mut self) -> &mut ResponseGameInfopub fn take_game_info(&mut self) -> ResponseGameInfo[src]
pub fn take_game_info(&mut self) -> ResponseGameInfopub fn get_game_info(&self) -> &ResponseGameInfo[src]
pub fn get_game_info(&self) -> &ResponseGameInfopub 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: ResponseObservation)[src]
pub fn set_observation(&mut self, v: ResponseObservation)pub fn mut_observation(&mut self) -> &mut ResponseObservation[src]
pub fn mut_observation(&mut self) -> &mut ResponseObservationpub fn take_observation(&mut self) -> ResponseObservation[src]
pub fn take_observation(&mut self) -> ResponseObservationpub fn get_observation(&self) -> &ResponseObservation[src]
pub fn get_observation(&self) -> &ResponseObservationpub 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: ResponseAction)[src]
pub fn set_action(&mut self, v: ResponseAction)pub fn mut_action(&mut self) -> &mut ResponseAction[src]
pub fn mut_action(&mut self) -> &mut ResponseActionpub fn take_action(&mut self) -> ResponseAction[src]
pub fn take_action(&mut self) -> ResponseActionpub fn get_action(&self) -> &ResponseAction[src]
pub fn get_action(&self) -> &ResponseActionpub 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: ResponseObserverAction)[src]
pub fn set_obs_action(&mut self, v: ResponseObserverAction)pub fn mut_obs_action(&mut self) -> &mut ResponseObserverAction[src]
pub fn mut_obs_action(&mut self) -> &mut ResponseObserverActionpub fn take_obs_action(&mut self) -> ResponseObserverAction[src]
pub fn take_obs_action(&mut self) -> ResponseObserverActionpub fn get_obs_action(&self) -> &ResponseObserverAction[src]
pub fn get_obs_action(&self) -> &ResponseObserverActionpub 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: ResponseStep)[src]
pub fn set_step(&mut self, v: ResponseStep)pub fn mut_step(&mut self) -> &mut ResponseStep[src]
pub fn mut_step(&mut self) -> &mut ResponseSteppub fn take_step(&mut self) -> ResponseStep[src]
pub fn take_step(&mut self) -> ResponseSteppub fn get_step(&self) -> &ResponseStep[src]
pub fn get_step(&self) -> &ResponseSteppub 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: ResponseData)[src]
pub fn set_data(&mut self, v: ResponseData)pub fn mut_data(&mut self) -> &mut ResponseData[src]
pub fn mut_data(&mut self) -> &mut ResponseDatapub fn take_data(&mut self) -> ResponseData[src]
pub fn take_data(&mut self) -> ResponseDatapub fn get_data(&self) -> &ResponseData[src]
pub fn get_data(&self) -> &ResponseDatapub 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: ResponseQuery)[src]
pub fn set_query(&mut self, v: ResponseQuery)pub fn mut_query(&mut self) -> &mut ResponseQuery[src]
pub fn mut_query(&mut self) -> &mut ResponseQuerypub fn take_query(&mut self) -> ResponseQuery[src]
pub fn take_query(&mut self) -> ResponseQuerypub fn get_query(&self) -> &ResponseQuery[src]
pub fn get_query(&self) -> &ResponseQuerypub 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: ResponseSaveReplay)[src]
pub fn set_save_replay(&mut self, v: ResponseSaveReplay)pub fn mut_save_replay(&mut self) -> &mut ResponseSaveReplay[src]
pub fn mut_save_replay(&mut self) -> &mut ResponseSaveReplaypub fn take_save_replay(&mut self) -> ResponseSaveReplay[src]
pub fn take_save_replay(&mut self) -> ResponseSaveReplaypub fn get_save_replay(&self) -> &ResponseSaveReplay[src]
pub fn get_save_replay(&self) -> &ResponseSaveReplaypub 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: ResponseReplayInfo)[src]
pub fn set_replay_info(&mut self, v: ResponseReplayInfo)pub fn mut_replay_info(&mut self) -> &mut ResponseReplayInfo[src]
pub fn mut_replay_info(&mut self) -> &mut ResponseReplayInfopub fn take_replay_info(&mut self) -> ResponseReplayInfo[src]
pub fn take_replay_info(&mut self) -> ResponseReplayInfopub fn get_replay_info(&self) -> &ResponseReplayInfo[src]
pub fn get_replay_info(&self) -> &ResponseReplayInfopub 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: ResponseAvailableMaps)[src]
pub fn set_available_maps(&mut self, v: ResponseAvailableMaps)pub fn mut_available_maps(&mut self) -> &mut ResponseAvailableMaps[src]
pub fn mut_available_maps(&mut self) -> &mut ResponseAvailableMapspub fn take_available_maps(&mut self) -> ResponseAvailableMaps[src]
pub fn take_available_maps(&mut self) -> ResponseAvailableMapspub fn get_available_maps(&self) -> &ResponseAvailableMaps[src]
pub fn get_available_maps(&self) -> &ResponseAvailableMapspub 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: ResponseSaveMap)[src]
pub fn set_save_map(&mut self, v: ResponseSaveMap)pub fn mut_save_map(&mut self) -> &mut ResponseSaveMap[src]
pub fn mut_save_map(&mut self) -> &mut ResponseSaveMappub fn take_save_map(&mut self) -> ResponseSaveMap[src]
pub fn take_save_map(&mut self) -> ResponseSaveMappub fn get_save_map(&self) -> &ResponseSaveMap[src]
pub fn get_save_map(&self) -> &ResponseSaveMappub 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: ResponseMapCommand)[src]
pub fn set_map_command(&mut self, v: ResponseMapCommand)pub fn mut_map_command(&mut self) -> &mut ResponseMapCommand[src]
pub fn mut_map_command(&mut self) -> &mut ResponseMapCommandpub fn take_map_command(&mut self) -> ResponseMapCommand[src]
pub fn take_map_command(&mut self) -> ResponseMapCommandpub fn get_map_command(&self) -> &ResponseMapCommand[src]
pub fn get_map_command(&self) -> &ResponseMapCommandpub 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: ResponsePing)[src]
pub fn set_ping(&mut self, v: ResponsePing)pub fn mut_ping(&mut self) -> &mut ResponsePing[src]
pub fn mut_ping(&mut self) -> &mut ResponsePingpub fn take_ping(&mut self) -> ResponsePing[src]
pub fn take_ping(&mut self) -> ResponsePingpub fn get_ping(&self) -> &ResponsePing[src]
pub fn get_ping(&self) -> &ResponsePingpub 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: ResponseDebug)[src]
pub fn set_debug(&mut self, v: ResponseDebug)pub fn mut_debug(&mut self) -> &mut ResponseDebug[src]
pub fn mut_debug(&mut self) -> &mut ResponseDebugpub fn take_debug(&mut self) -> ResponseDebug[src]
pub fn take_debug(&mut self) -> ResponseDebugpub fn get_debug(&self) -> &ResponseDebug[src]
pub fn get_debug(&self) -> &ResponseDebugpub 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) -> u32pub fn clear_error(&mut self)[src]
pub fn clear_error(&mut self)pub fn set_error(&mut self, v: RepeatedField<String>)[src]
pub fn set_error(&mut self, v: RepeatedField<String>)pub fn mut_error(&mut self) -> &mut RepeatedField<String>[src]
pub fn mut_error(&mut self) -> &mut RepeatedField<String>pub fn take_error(&mut self) -> RepeatedField<String>[src]
pub fn take_error(&mut self) -> RepeatedField<String>pub fn get_error(&self) -> &[String][src]
pub fn get_error(&self) -> &[String]pub fn clear_status(&mut self)[src]
pub fn clear_status(&mut self)pub fn has_status(&self) -> bool[src]
pub fn has_status(&self) -> boolpub fn set_status(&mut self, v: Status)[src]
pub fn set_status(&mut self, v: Status)pub fn get_status(&self) -> Status[src]
pub fn get_status(&self) -> StatusTrait Implementations
impl Default for Response[src]
impl Default for Responseimpl PartialEq<Response> for Response[src]
impl PartialEq<Response> for Responseimpl Clone for Response[src]
impl Clone for Responsefn clone(&self) -> Response[src]
fn clone(&self) -> Responsefn 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 Response[src]
impl Debug for Responseimpl Message for Response[src]
impl Message for Responsefn 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() -> Response[src]
fn new() -> Responsefn descriptor_static() -> &'static MessageDescriptor[src]
fn descriptor_static() -> &'static MessageDescriptorfn default_instance() -> &'static Response[src]
fn default_instance() -> &'static Responsefn 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 Response[src]
impl Clear for Responseimpl ProtobufValue for Response[src]
impl ProtobufValue for Responsefn 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