Struct synapse_rpc::resource::Piece
[−]
[src]
pub struct Piece { pub id: String, pub torrent_id: String, pub available: bool, pub downloaded: bool, pub index: u32, pub user_data: Value, }
Fields
id: String
torrent_id: String
available: bool
downloaded: bool
index: u32
user_data: Value
Trait Implementations
impl Clone for Piece
[src]
fn clone(&self) -> Piece
[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 Piece
[src]
impl Default for Piece
[src]
impl PartialEq for Piece
[src]
fn eq(&self, __arg_0: &Piece) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Piece) -> bool
[src]
This method tests for !=
.