Struct synapse_rpc::resource::File
[−]
[src]
pub struct File {
pub id: String,
pub torrent_id: String,
pub path: String,
pub progress: f32,
pub availability: f32,
pub priority: u8,
pub size: u64,
pub user_data: Value,
}Fields
id: String
torrent_id: String
path: String
progress: f32
availability: f32
priority: u8
size: u64
user_data: Value
Methods
impl File[src]
fn update(&mut self, update: &SResourceUpdate)[src]
Trait Implementations
impl Clone for File[src]
fn clone(&self) -> File[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 File[src]
impl Default for File[src]
impl PartialEq for File[src]
fn eq(&self, __arg_0: &File) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &File) -> bool[src]
This method tests for !=.