Struct sc2_proto::sc2api::ResponseRestartGame[][src]

pub struct ResponseRestartGame {
    pub error: Option<ResponseRestartGame_Error>,
    pub error_details: SingularField<String>,
    pub need_hard_reset: Option<bool>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

error: Option<ResponseRestartGame_Error>error_details: SingularField<String>need_hard_reset: Option<bool>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ResponseRestartGame[src]

pub fn new() -> ResponseRestartGame[src]

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

pub fn clear_error(&mut self)[src]

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

pub fn set_error(&mut self, v: ResponseRestartGame_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]

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

pub fn clear_need_hard_reset(&mut self)[src]

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

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

Trait Implementations

impl Clear for ResponseRestartGame[src]

impl Clone for ResponseRestartGame[src]

impl Debug for ResponseRestartGame[src]

impl Default for ResponseRestartGame[src]

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

impl Message for ResponseRestartGame[src]

impl PartialEq<ResponseRestartGame> for ResponseRestartGame[src]

impl ProtobufValue for ResponseRestartGame[src]

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