Struct sc2_proto::score::Score[][src]

pub struct Score {
    pub score_type: Option<Score_ScoreType>,
    pub score: Option<i32>,
    pub score_details: SingularPtrField<ScoreDetails>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Generated files are compatible only with the same version of protobuf runtime.

Fields

score_type: Option<Score_ScoreType>score: Option<i32>score_details: SingularPtrField<ScoreDetails>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Score[src]

pub fn new() -> Score[src]

pub fn get_score_type(&self) -> Score_ScoreType[src]

pub fn clear_score_type(&mut self)[src]

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

pub fn set_score_type(&mut self, v: Score_ScoreType)[src]

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

pub fn clear_score(&mut self)[src]

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

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

pub fn get_score_details(&self) -> &ScoreDetails[src]

pub fn clear_score_details(&mut self)[src]

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

pub fn set_score_details(&mut self, v: ScoreDetails)[src]

pub fn mut_score_details(&mut self) -> &mut ScoreDetails[src]

pub fn take_score_details(&mut self) -> ScoreDetails[src]

Trait Implementations

impl Clear for Score[src]

impl Clone for Score[src]

impl Debug for Score[src]

impl Default for Score[src]

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

impl Message for Score[src]

impl PartialEq<Score> for Score[src]

impl ProtobufValue for Score[src]

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