Struct sc2_proto::sc2api::PlayerResult[][src]

pub struct PlayerResult {
    pub player_id: Option<u32>,
    pub result: Option<Result>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

player_id: Option<u32>result: Option<Result>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl PlayerResult[src]

pub fn new() -> PlayerResult[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_result(&self) -> Result[src]

pub fn clear_result(&mut self)[src]

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

pub fn set_result(&mut self, v: Result)[src]

Trait Implementations

impl Clear for PlayerResult[src]

impl Clone for PlayerResult[src]

impl Debug for PlayerResult[src]

impl Default for PlayerResult[src]

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

impl Message for PlayerResult[src]

impl PartialEq<PlayerResult> for PlayerResult[src]

impl ProtobufValue for PlayerResult[src]

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