[][src]Struct rust_openttd_admin::packet::admin::server_packets::CmdNames

pub struct CmdNames {
    pub names: Vec<CmdName>,
}

Send DoCommand names to the bot upon request only. Multiple of these packets can follow each other in order to provide all known DoCommand names.

NOTICE: Data provided with this packet is not stable and will not be treated as such. Do not rely on IDs or names to be constant across different versions / revisions of OpenTTD. Data provided in this packet is for logging purposes only.

Fields

names: Vec<CmdName>

Trait Implementations

impl Eq for CmdNames[src]

impl PartialEq<CmdNames> for CmdNames[src]

impl Clone for CmdNames[src]

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

Performs copy-assignment from source. Read more

impl Debug for CmdNames[src]

impl Serialize for CmdNames[src]

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

Auto Trait Implementations

impl Send for CmdNames

impl Sync for CmdNames

Blanket Implementations

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

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

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> BorrowMut for T where
    T: ?Sized
[src]

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

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

The type returned in the event of a conversion error.

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