pub struct TellStatusReply {Show 13 fields
pub gid: Option<String>,
pub status: Option<TaskStatus>,
pub total_length: Option<u64>,
pub completed_length: Option<u64>,
pub upload_length: Option<u64>,
pub bitfield: Option<String>,
pub download_speed: Option<u64>,
pub upload_speed: Option<u64>,
pub piece_length: Option<u64>,
pub num_pieces: Option<u64>,
pub connections: Option<u64>,
pub dir: Option<String>,
pub files: Option<Vec<TellStatusReplyFile>>,
}Fields§
§gid: Option<String>§status: Option<TaskStatus>§total_length: Option<u64>§completed_length: Option<u64>§upload_length: Option<u64>§bitfield: Option<String>§download_speed: Option<u64>§upload_speed: Option<u64>§piece_length: Option<u64>§num_pieces: Option<u64>§connections: Option<u64>§dir: Option<String>§files: Option<Vec<TellStatusReplyFile>>Trait Implementations§
Source§impl Clone for TellStatusReply
impl Clone for TellStatusReply
Source§fn clone(&self) -> TellStatusReply
fn clone(&self) -> TellStatusReply
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TellStatusReply
impl Debug for TellStatusReply
Source§impl<'de> Deserialize<'de> for TellStatusReply
impl<'de> Deserialize<'de> for TellStatusReply
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TellStatusReply
impl RefUnwindSafe for TellStatusReply
impl Send for TellStatusReply
impl Sync for TellStatusReply
impl Unpin for TellStatusReply
impl UnwindSafe for TellStatusReply
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more