Struct synapse_rpc::resource::Server
[−]
[src]
pub struct Server { pub id: String, pub download_token: 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 free_space: u64, pub started: DateTime<Utc>, pub user_data: Value, }
Fields
id: String
download_token: String
rate_up: u64
rate_down: u64
throttle_up: Option<i64>
throttle_down: Option<i64>
transferred_up: u64
transferred_down: u64
ses_transferred_up: u64
ses_transferred_down: u64
free_space: u64
started: DateTime<Utc>
user_data: Value
Methods
impl Server
[src]
pub fn update(&mut self, update: SResourceUpdate)
[src]
Trait Implementations
impl Clone for Server
[src]
fn clone(&self) -> Server
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Server
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Server
[src]
fn eq(&self, __arg_0: &Server) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Server) -> bool
[src]
This method tests for !=
.