Struct sc2_proto::sc2api::ResponseReplayInfo[][src]

pub struct ResponseReplayInfo {
    pub map_name: SingularField<String>,
    pub local_map_path: SingularField<String>,
    pub player_info: RepeatedField<PlayerInfoExtra>,
    pub game_duration_loops: Option<u32>,
    pub game_duration_seconds: Option<f32>,
    pub game_version: SingularField<String>,
    pub data_version: SingularField<String>,
    pub data_build: Option<u32>,
    pub base_build: Option<u32>,
    pub error: Option<ResponseReplayInfo_Error>,
    pub error_details: SingularField<String>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

map_name: SingularField<String>local_map_path: SingularField<String>player_info: RepeatedField<PlayerInfoExtra>game_duration_loops: Option<u32>game_duration_seconds: Option<f32>game_version: SingularField<String>data_version: SingularField<String>data_build: Option<u32>base_build: Option<u32>error: Option<ResponseReplayInfo_Error>error_details: SingularField<String>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ResponseReplayInfo[src]

pub fn new() -> ResponseReplayInfo[src]

pub fn get_map_name(&self) -> &str[src]

pub fn clear_map_name(&mut self)[src]

pub fn has_map_name(&self) -> bool[src]

pub fn set_map_name(&mut self, v: String)[src]

pub fn mut_map_name(&mut self) -> &mut String[src]

pub fn take_map_name(&mut self) -> String[src]

pub fn get_local_map_path(&self) -> &str[src]

pub fn clear_local_map_path(&mut self)[src]

pub fn has_local_map_path(&self) -> bool[src]

pub fn set_local_map_path(&mut self, v: String)[src]

pub fn mut_local_map_path(&mut self) -> &mut String[src]

pub fn take_local_map_path(&mut self) -> String[src]

pub fn get_player_info(&self) -> &[PlayerInfoExtra][src]

pub fn clear_player_info(&mut self)[src]

pub fn set_player_info(&mut self, v: RepeatedField<PlayerInfoExtra>)[src]

pub fn mut_player_info(&mut self) -> &mut RepeatedField<PlayerInfoExtra>[src]

pub fn take_player_info(&mut self) -> RepeatedField<PlayerInfoExtra>[src]

pub fn get_game_duration_loops(&self) -> u32[src]

pub fn clear_game_duration_loops(&mut self)[src]

pub fn has_game_duration_loops(&self) -> bool[src]

pub fn set_game_duration_loops(&mut self, v: u32)[src]

pub fn get_game_duration_seconds(&self) -> f32[src]

pub fn clear_game_duration_seconds(&mut self)[src]

pub fn has_game_duration_seconds(&self) -> bool[src]

pub fn set_game_duration_seconds(&mut self, v: f32)[src]

pub fn get_game_version(&self) -> &str[src]

pub fn clear_game_version(&mut self)[src]

pub fn has_game_version(&self) -> bool[src]

pub fn set_game_version(&mut self, v: String)[src]

pub fn mut_game_version(&mut self) -> &mut String[src]

pub fn take_game_version(&mut self) -> String[src]

pub fn get_data_version(&self) -> &str[src]

pub fn clear_data_version(&mut self)[src]

pub fn has_data_version(&self) -> bool[src]

pub fn set_data_version(&mut self, v: String)[src]

pub fn mut_data_version(&mut self) -> &mut String[src]

pub fn take_data_version(&mut self) -> String[src]

pub fn get_data_build(&self) -> u32[src]

pub fn clear_data_build(&mut self)[src]

pub fn has_data_build(&self) -> bool[src]

pub fn set_data_build(&mut self, v: u32)[src]

pub fn get_base_build(&self) -> u32[src]

pub fn clear_base_build(&mut self)[src]

pub fn has_base_build(&self) -> bool[src]

pub fn set_base_build(&mut self, v: u32)[src]

pub fn get_error(&self) -> ResponseReplayInfo_Error[src]

pub fn clear_error(&mut self)[src]

pub fn has_error(&self) -> bool[src]

pub fn set_error(&mut self, v: ResponseReplayInfo_Error)[src]

pub fn get_error_details(&self) -> &str[src]

pub fn clear_error_details(&mut self)[src]

pub fn has_error_details(&self) -> bool[src]

pub fn set_error_details(&mut self, v: String)[src]

pub fn mut_error_details(&mut self) -> &mut String[src]

pub fn take_error_details(&mut self) -> String[src]

Trait Implementations

impl Clear for ResponseReplayInfo[src]

impl Clone for ResponseReplayInfo[src]

impl Debug for ResponseReplayInfo[src]

impl Default for ResponseReplayInfo[src]

impl<'a> Default for &'a ResponseReplayInfo[src]

impl Message for ResponseReplayInfo[src]

impl PartialEq<ResponseReplayInfo> for ResponseReplayInfo[src]

impl ProtobufValue for ResponseReplayInfo[src]

impl StructuralPartialEq for ResponseReplayInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.