Struct synapse_rpc::resource::Server [] [src]

pub struct Server {
    pub id: String,
    pub rate_up: u64,
    pub rate_down: u64,
    pub throttle_up: Option<i64>,
    pub throttle_down: Option<i64>,
    pub transferred_up: u64,
    pub transferred_down: u64,
    pub ses_transferred_up: u64,
    pub ses_transferred_down: u64,
    pub started: DateTime<Utc>,
    pub user_data: Value,
}

Fields

Methods

impl Server
[src]

[src]

Trait Implementations

impl Clone for Server
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Server
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Server
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Queryable for Server
[src]

[src]

impl Default for Server
[src]

[src]

Returns the "default value" for a type. Read more