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

pub struct CompanyEconomy {
    pub id: u8,
    pub money: u64,
    pub loan: u64,
    pub income: i64,
    pub delivered_cargo: u16,
    pub company_value_last: u64,
    pub performance_last: u16,
    pub delivered_cargo_last: u16,
    pub company_value_previous: u64,
    pub performance_previous: u16,
    pub delivered_previous: u16,
}

Economy update of a specific company.

Fields

id: u8

ID of the company.

money: u64

Money.

loan: u64

Loan.

income: i64

Income.

delivered_cargo: u16

Delivered cargo (this quarter).

company_value_last: u64

Company value (last quarter).

performance_last: u16

Performance (last quarter).

delivered_cargo_last: u16

Delivered cargo (last quarter).

company_value_previous: u64

Company value (previous quarter).

performance_previous: u16

Performance (previous quarter).

delivered_previous: u16

Delivered cargo (previous quarter).

Trait Implementations

impl Eq for CompanyEconomy[src]

impl Copy for CompanyEconomy[src]

impl PartialEq<CompanyEconomy> for CompanyEconomy[src]

impl Clone for CompanyEconomy[src]

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

Performs copy-assignment from source. Read more

impl Debug for CompanyEconomy[src]

impl Serialize for CompanyEconomy[src]

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

Auto Trait Implementations

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]