pub struct DownloadId(u64);Expand description
A download’s id, unique for as long as the process runs.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for DownloadId
impl Clone for DownloadId
Source§fn clone(&self) -> DownloadId
fn clone(&self) -> DownloadId
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 moreimpl Copy for DownloadId
Source§impl Debug for DownloadId
impl Debug for DownloadId
Source§impl Display for DownloadId
impl Display for DownloadId
impl Eq for DownloadId
Source§impl Hash for DownloadId
impl Hash for DownloadId
Source§impl PartialEq for DownloadId
impl PartialEq for DownloadId
impl StructuralPartialEq for DownloadId
Auto Trait Implementations§
impl Freeze for DownloadId
impl RefUnwindSafe for DownloadId
impl Send for DownloadId
impl Sync for DownloadId
impl Unpin for DownloadId
impl UnsafeUnpin for DownloadId
impl UnwindSafe for DownloadId
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