pub enum DownloadsToRemove {
All,
Only(Vec<DownloadId>),
}Expand description
Which recorded downloads a removal takes: all, or those of the given ids.
Variants§
Trait Implementations§
Source§impl Clone for DownloadsToRemove
impl Clone for DownloadsToRemove
Source§impl Debug for DownloadsToRemove
impl Debug for DownloadsToRemove
Source§impl<'de> Deserialize<'de> for DownloadsToRemove
impl<'de> Deserialize<'de> for DownloadsToRemove
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
impl Eq for DownloadsToRemove
Source§impl PartialEq for DownloadsToRemove
impl PartialEq for DownloadsToRemove
Source§impl Serialize for DownloadsToRemove
impl Serialize for DownloadsToRemove
impl StructuralPartialEq for DownloadsToRemove
Auto Trait Implementations§
impl Forget for DownloadsToRemove
impl Freeze for DownloadsToRemove
impl Move for DownloadsToRemove
impl RefUnwindSafe for DownloadsToRemove
impl Send for DownloadsToRemovewhere
RawVecInner: Send,
impl Sync for DownloadsToRemovewhere
RawVecInner: Sync,
impl Unpin for DownloadsToRemove
impl UnsafeUnpin for DownloadsToRemove
impl UnwindSafe for DownloadsToRemovewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.