Struct sc2_proto::sc2api::ResponseJoinGame[][src]

pub struct ResponseJoinGame {
    pub player_id: Option<u32>,
    pub error: Option<ResponseJoinGame_Error>,
    pub error_details: SingularField<String>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

player_id: Option<u32>error: Option<ResponseJoinGame_Error>error_details: SingularField<String>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ResponseJoinGame[src]

pub fn new() -> ResponseJoinGame[src]

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

pub fn clear_player_id(&mut self)[src]

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

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

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

pub fn clear_error(&mut self)[src]

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

pub fn set_error(&mut self, v: ResponseJoinGame_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 ResponseJoinGame[src]

impl Clone for ResponseJoinGame[src]

impl Debug for ResponseJoinGame[src]

impl Default for ResponseJoinGame[src]

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

impl Message for ResponseJoinGame[src]

impl PartialEq<ResponseJoinGame> for ResponseJoinGame[src]

impl ProtobufValue for ResponseJoinGame[src]

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