pub struct TorrentFileEntry {
pub index: usize,
pub path: String,
pub length: u64,
pub completed_length: u64,
}Fields§
§index: usize§path: String§length: u64§completed_length: u64Trait Implementations§
Source§impl Clone for TorrentFileEntry
impl Clone for TorrentFileEntry
Source§fn clone(&self) -> TorrentFileEntry
fn clone(&self) -> TorrentFileEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TorrentFileEntry
impl Debug for TorrentFileEntry
Source§impl<'de> Deserialize<'de> for TorrentFileEntry
impl<'de> Deserialize<'de> for TorrentFileEntry
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 TorrentFileEntry
impl RefUnwindSafe for TorrentFileEntry
impl Send for TorrentFileEntry
impl Sync for TorrentFileEntry
impl Unpin for TorrentFileEntry
impl UnsafeUnpin for TorrentFileEntry
impl UnwindSafe for TorrentFileEntry
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