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

pub struct CmdLogging {
    pub client_id: u32,
    pub company_id: u8,
    pub command_id: u16,
    pub p1: u32,
    pub p2: u32,
    pub tile: u32,
    pub text: String,
    pub execution_frame: u32,
}

Send incoming command packets to the admin network. This is for logging purposes only.

NOTICE: Data provided with this packet is not stable and will not be across different versions / revisions of OpenTTD. Data provided in this packet is for logging purposes only.

Fields

client_id: u32

ID of the client sending the command.

company_id: u8

ID of the company (0..MAX_COMPANIES-1).

command_id: u16

ID of the command.

p1: u32

P1 (variable data passed to the command).

p2: u32

P2 (variable data passed to the command).

tile: u32

Tile where this is taking place.

text: String

Text passed to the command.

execution_frame: u32

Frame of execution.

Trait Implementations

impl Clone for CmdLogging[src]

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

Performs copy-assignment from source. Read more

impl Eq for CmdLogging[src]

impl PartialEq<CmdLogging> for CmdLogging[src]

impl Debug for CmdLogging[src]

impl Serialize for CmdLogging[src]

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

Auto Trait Implementations

impl Send for CmdLogging

impl Sync for CmdLogging

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
    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> 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> Any for T where
    T: 'static + ?Sized
[src]

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