Struct sc2_proto::sc2api::Response [−][src]
Fields
id: Option<u32>
error: RepeatedField<String>
status: Option<Status>
response: Option<Response_oneof_response>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl Response
[src]
pub fn new() -> Response
[src]
pub fn get_create_game(&self) -> &ResponseCreateGame
[src]
pub fn clear_create_game(&mut self)
[src]
pub fn has_create_game(&self) -> bool
[src]
pub fn set_create_game(&mut self, v: ResponseCreateGame)
[src]
pub fn mut_create_game(&mut self) -> &mut ResponseCreateGame
[src]
pub fn take_create_game(&mut self) -> ResponseCreateGame
[src]
pub fn get_join_game(&self) -> &ResponseJoinGame
[src]
pub fn clear_join_game(&mut self)
[src]
pub fn has_join_game(&self) -> bool
[src]
pub fn set_join_game(&mut self, v: ResponseJoinGame)
[src]
pub fn mut_join_game(&mut self) -> &mut ResponseJoinGame
[src]
pub fn take_join_game(&mut self) -> ResponseJoinGame
[src]
pub fn get_restart_game(&self) -> &ResponseRestartGame
[src]
pub fn clear_restart_game(&mut self)
[src]
pub fn has_restart_game(&self) -> bool
[src]
pub fn set_restart_game(&mut self, v: ResponseRestartGame)
[src]
pub fn mut_restart_game(&mut self) -> &mut ResponseRestartGame
[src]
pub fn take_restart_game(&mut self) -> ResponseRestartGame
[src]
pub fn get_start_replay(&self) -> &ResponseStartReplay
[src]
pub fn clear_start_replay(&mut self)
[src]
pub fn has_start_replay(&self) -> bool
[src]
pub fn set_start_replay(&mut self, v: ResponseStartReplay)
[src]
pub fn mut_start_replay(&mut self) -> &mut ResponseStartReplay
[src]
pub fn take_start_replay(&mut self) -> ResponseStartReplay
[src]
pub fn get_leave_game(&self) -> &ResponseLeaveGame
[src]
pub fn clear_leave_game(&mut self)
[src]
pub fn has_leave_game(&self) -> bool
[src]
pub fn set_leave_game(&mut self, v: ResponseLeaveGame)
[src]
pub fn mut_leave_game(&mut self) -> &mut ResponseLeaveGame
[src]
pub fn take_leave_game(&mut self) -> ResponseLeaveGame
[src]
pub fn get_quick_save(&self) -> &ResponseQuickSave
[src]
pub fn clear_quick_save(&mut self)
[src]
pub fn has_quick_save(&self) -> bool
[src]
pub fn set_quick_save(&mut self, v: ResponseQuickSave)
[src]
pub fn mut_quick_save(&mut self) -> &mut ResponseQuickSave
[src]
pub fn take_quick_save(&mut self) -> ResponseQuickSave
[src]
pub fn get_quick_load(&self) -> &ResponseQuickLoad
[src]
pub fn clear_quick_load(&mut self)
[src]
pub fn has_quick_load(&self) -> bool
[src]
pub fn set_quick_load(&mut self, v: ResponseQuickLoad)
[src]
pub fn mut_quick_load(&mut self) -> &mut ResponseQuickLoad
[src]
pub fn take_quick_load(&mut self) -> ResponseQuickLoad
[src]
pub fn get_quit(&self) -> &ResponseQuit
[src]
pub fn clear_quit(&mut self)
[src]
pub fn has_quit(&self) -> bool
[src]
pub fn set_quit(&mut self, v: ResponseQuit)
[src]
pub fn mut_quit(&mut self) -> &mut ResponseQuit
[src]
pub fn take_quit(&mut self) -> ResponseQuit
[src]
pub fn get_game_info(&self) -> &ResponseGameInfo
[src]
pub fn clear_game_info(&mut self)
[src]
pub fn has_game_info(&self) -> bool
[src]
pub fn set_game_info(&mut self, v: ResponseGameInfo)
[src]
pub fn mut_game_info(&mut self) -> &mut ResponseGameInfo
[src]
pub fn take_game_info(&mut self) -> ResponseGameInfo
[src]
pub fn get_observation(&self) -> &ResponseObservation
[src]
pub fn clear_observation(&mut self)
[src]
pub fn has_observation(&self) -> bool
[src]
pub fn set_observation(&mut self, v: ResponseObservation)
[src]
pub fn mut_observation(&mut self) -> &mut ResponseObservation
[src]
pub fn take_observation(&mut self) -> ResponseObservation
[src]
pub fn get_action(&self) -> &ResponseAction
[src]
pub fn clear_action(&mut self)
[src]
pub fn has_action(&self) -> bool
[src]
pub fn set_action(&mut self, v: ResponseAction)
[src]
pub fn mut_action(&mut self) -> &mut ResponseAction
[src]
pub fn take_action(&mut self) -> ResponseAction
[src]
pub fn get_obs_action(&self) -> &ResponseObserverAction
[src]
pub fn clear_obs_action(&mut self)
[src]
pub fn has_obs_action(&self) -> bool
[src]
pub fn set_obs_action(&mut self, v: ResponseObserverAction)
[src]
pub fn mut_obs_action(&mut self) -> &mut ResponseObserverAction
[src]
pub fn take_obs_action(&mut self) -> ResponseObserverAction
[src]
pub fn get_step(&self) -> &ResponseStep
[src]
pub fn clear_step(&mut self)
[src]
pub fn has_step(&self) -> bool
[src]
pub fn set_step(&mut self, v: ResponseStep)
[src]
pub fn mut_step(&mut self) -> &mut ResponseStep
[src]
pub fn take_step(&mut self) -> ResponseStep
[src]
pub fn get_data(&self) -> &ResponseData
[src]
pub fn clear_data(&mut self)
[src]
pub fn has_data(&self) -> bool
[src]
pub fn set_data(&mut self, v: ResponseData)
[src]
pub fn mut_data(&mut self) -> &mut ResponseData
[src]
pub fn take_data(&mut self) -> ResponseData
[src]
pub fn get_query(&self) -> &ResponseQuery
[src]
pub fn clear_query(&mut self)
[src]
pub fn has_query(&self) -> bool
[src]
pub fn set_query(&mut self, v: ResponseQuery)
[src]
pub fn mut_query(&mut self) -> &mut ResponseQuery
[src]
pub fn take_query(&mut self) -> ResponseQuery
[src]
pub fn get_save_replay(&self) -> &ResponseSaveReplay
[src]
pub fn clear_save_replay(&mut self)
[src]
pub fn has_save_replay(&self) -> bool
[src]
pub fn set_save_replay(&mut self, v: ResponseSaveReplay)
[src]
pub fn mut_save_replay(&mut self) -> &mut ResponseSaveReplay
[src]
pub fn take_save_replay(&mut self) -> ResponseSaveReplay
[src]
pub fn get_replay_info(&self) -> &ResponseReplayInfo
[src]
pub fn clear_replay_info(&mut self)
[src]
pub fn has_replay_info(&self) -> bool
[src]
pub fn set_replay_info(&mut self, v: ResponseReplayInfo)
[src]
pub fn mut_replay_info(&mut self) -> &mut ResponseReplayInfo
[src]
pub fn take_replay_info(&mut self) -> ResponseReplayInfo
[src]
pub fn get_available_maps(&self) -> &ResponseAvailableMaps
[src]
pub fn clear_available_maps(&mut self)
[src]
pub fn has_available_maps(&self) -> bool
[src]
pub fn set_available_maps(&mut self, v: ResponseAvailableMaps)
[src]
pub fn mut_available_maps(&mut self) -> &mut ResponseAvailableMaps
[src]
pub fn take_available_maps(&mut self) -> ResponseAvailableMaps
[src]
pub fn get_save_map(&self) -> &ResponseSaveMap
[src]
pub fn clear_save_map(&mut self)
[src]
pub fn has_save_map(&self) -> bool
[src]
pub fn set_save_map(&mut self, v: ResponseSaveMap)
[src]
pub fn mut_save_map(&mut self) -> &mut ResponseSaveMap
[src]
pub fn take_save_map(&mut self) -> ResponseSaveMap
[src]
pub fn get_map_command(&self) -> &ResponseMapCommand
[src]
pub fn clear_map_command(&mut self)
[src]
pub fn has_map_command(&self) -> bool
[src]
pub fn set_map_command(&mut self, v: ResponseMapCommand)
[src]
pub fn mut_map_command(&mut self) -> &mut ResponseMapCommand
[src]
pub fn take_map_command(&mut self) -> ResponseMapCommand
[src]
pub fn get_ping(&self) -> &ResponsePing
[src]
pub fn clear_ping(&mut self)
[src]
pub fn has_ping(&self) -> bool
[src]
pub fn set_ping(&mut self, v: ResponsePing)
[src]
pub fn mut_ping(&mut self) -> &mut ResponsePing
[src]
pub fn take_ping(&mut self) -> ResponsePing
[src]
pub fn get_debug(&self) -> &ResponseDebug
[src]
pub fn clear_debug(&mut self)
[src]
pub fn has_debug(&self) -> bool
[src]
pub fn set_debug(&mut self, v: ResponseDebug)
[src]
pub fn mut_debug(&mut self) -> &mut ResponseDebug
[src]
pub fn take_debug(&mut self) -> ResponseDebug
[src]
pub fn get_id(&self) -> u32
[src]
pub fn clear_id(&mut self)
[src]
pub fn has_id(&self) -> bool
[src]
pub fn set_id(&mut self, v: u32)
[src]
pub fn get_error(&self) -> &[String]
[src]
pub fn clear_error(&mut self)
[src]
pub fn set_error(&mut self, v: RepeatedField<String>)
[src]
pub fn mut_error(&mut self) -> &mut RepeatedField<String>
[src]
pub fn take_error(&mut self) -> RepeatedField<String>
[src]
pub fn get_status(&self) -> Status
[src]
pub fn clear_status(&mut self)
[src]
pub fn has_status(&self) -> bool
[src]
pub fn set_status(&mut self, v: Status)
[src]
Trait Implementations
impl Clear for Response
[src]
impl Clone for Response
[src]
impl Debug for Response
[src]
impl Default for Response
[src]
impl<'a> Default for &'a Response
[src]
impl Message for Response
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn new() -> Response
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static Response
[src]
pub fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, ProtobufError>
[src]
pub fn write_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
pub fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
pub fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, ProtobufError>
[src]
pub fn parse_from_bytes(bytes: &[u8]) -> Result<Self, ProtobufError>
[src]
pub fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
pub fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
pub fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
[src]
pub fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
[src]
pub fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
[src]
&self
) -> Result<Vec<u8, Global>, ProtobufError>
pub fn type_id(&self) -> TypeId
[src]
impl PartialEq<Response> for Response
[src]
impl ProtobufValue for Response
[src]
fn as_ref(&self) -> ReflectValueRef<'_>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn is_non_zero(&self) -> bool
[src]
pub fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]
impl StructuralPartialEq for Response
[src]
Auto Trait Implementations
impl RefUnwindSafe for Response
[src]
impl Send for Response
[src]
impl Sync for Response
[src]
impl Unpin for Response
[src]
impl UnwindSafe for Response
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,