Struct sc2_proto::sc2api::ActionError[][src]

pub struct ActionError {
    pub unit_tag: Option<u64>,
    pub ability_id: Option<u64>,
    pub result: Option<ActionResult>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

unit_tag: Option<u64>ability_id: Option<u64>result: Option<ActionResult>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ActionError[src]

pub fn new() -> ActionError[src]

pub fn get_unit_tag(&self) -> u64[src]

pub fn clear_unit_tag(&mut self)[src]

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

pub fn set_unit_tag(&mut self, v: u64)[src]

pub fn get_ability_id(&self) -> u64[src]

pub fn clear_ability_id(&mut self)[src]

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

pub fn set_ability_id(&mut self, v: u64)[src]

pub fn get_result(&self) -> ActionResult[src]

pub fn clear_result(&mut self)[src]

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

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

Trait Implementations

impl Clear for ActionError[src]

impl Clone for ActionError[src]

impl Debug for ActionError[src]

impl Default for ActionError[src]

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

impl Message for ActionError[src]

impl PartialEq<ActionError> for ActionError[src]

impl ProtobufValue for ActionError[src]

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