Struct sc2_proto::sc2api::RequestStartReplay[][src]

pub struct RequestStartReplay {
    pub map_data: SingularField<Vec<u8>>,
    pub observed_player_id: Option<i32>,
    pub options: SingularPtrField<InterfaceOptions>,
    pub disable_fog: Option<bool>,
    pub realtime: Option<bool>,
    pub record_replay: Option<bool>,
    pub replay: Option<RequestStartReplay_oneof_replay>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

map_data: SingularField<Vec<u8>>observed_player_id: Option<i32>options: SingularPtrField<InterfaceOptions>disable_fog: Option<bool>realtime: Option<bool>record_replay: Option<bool>replay: Option<RequestStartReplay_oneof_replay>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl RequestStartReplay[src]

pub fn new() -> RequestStartReplay[src]

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

pub fn clear_replay_path(&mut self)[src]

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

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

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

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

pub fn get_replay_data(&self) -> &[u8][src]

pub fn clear_replay_data(&mut self)[src]

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

pub fn set_replay_data(&mut self, v: Vec<u8>)[src]

pub fn mut_replay_data(&mut self) -> &mut Vec<u8>[src]

pub fn take_replay_data(&mut self) -> Vec<u8>[src]

pub fn get_map_data(&self) -> &[u8][src]

pub fn clear_map_data(&mut self)[src]

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

pub fn set_map_data(&mut self, v: Vec<u8>)[src]

pub fn mut_map_data(&mut self) -> &mut Vec<u8>[src]

pub fn take_map_data(&mut self) -> Vec<u8>[src]

pub fn get_observed_player_id(&self) -> i32[src]

pub fn clear_observed_player_id(&mut self)[src]

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

pub fn set_observed_player_id(&mut self, v: i32)[src]

pub fn get_options(&self) -> &InterfaceOptions[src]

pub fn clear_options(&mut self)[src]

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

pub fn set_options(&mut self, v: InterfaceOptions)[src]

pub fn mut_options(&mut self) -> &mut InterfaceOptions[src]

pub fn take_options(&mut self) -> InterfaceOptions[src]

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

pub fn clear_disable_fog(&mut self)[src]

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

pub fn set_disable_fog(&mut self, v: bool)[src]

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

pub fn clear_realtime(&mut self)[src]

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

pub fn set_realtime(&mut self, v: bool)[src]

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

pub fn clear_record_replay(&mut self)[src]

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

pub fn set_record_replay(&mut self, v: bool)[src]

Trait Implementations

impl Clear for RequestStartReplay[src]

impl Clone for RequestStartReplay[src]

impl Debug for RequestStartReplay[src]

impl Default for RequestStartReplay[src]

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

impl Message for RequestStartReplay[src]

impl PartialEq<RequestStartReplay> for RequestStartReplay[src]

impl ProtobufValue for RequestStartReplay[src]

impl StructuralPartialEq for RequestStartReplay[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.