[][src]Enum airmash_protocol::CommandReplyType

pub enum CommandReplyType {
    ShowInConsole,
    ShowInPopup,
}

Specifies whether the debug reply to a command should open a popup or be displayed in the chat window.

Variants

ShowInConsoleShowInPopup

Technically this should be any value other than 0, the From integer implementation for this enum deals with that.

Trait Implementations

impl PartialEq<CommandReplyType> for CommandReplyType
[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Eq for CommandReplyType
[src]

impl Clone for CommandReplyType
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<u8> for CommandReplyType
[src]

impl From<CommandReplyType> for u8
[src]

impl From<u16> for CommandReplyType
[src]

impl From<CommandReplyType> for u16
[src]

impl From<u32> for CommandReplyType
[src]

impl From<CommandReplyType> for u32
[src]

impl From<u64> for CommandReplyType
[src]

impl From<CommandReplyType> for u64
[src]

impl Copy for CommandReplyType
[src]

impl Debug for CommandReplyType
[src]

impl Hash for CommandReplyType
[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Serialize for CommandReplyType
[src]

impl<'de> Deserialize<'de> for CommandReplyType
[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]