#[repr(u8)]pub enum AutoDeleteMode {
Never = 0,
IfAdded = 1,
Always = 2,
}Expand description
Whether the .torrent file should be deleted after the torrent is added.
Variants§
Never = 0
Never delete the .torrent file.
IfAdded = 1
Only delete the .torrent file if the torrent is added.
Always = 2
Always delete the .torrent file.
Trait Implementations§
Source§impl Clone for AutoDeleteMode
impl Clone for AutoDeleteMode
Source§impl Debug for AutoDeleteMode
impl Debug for AutoDeleteMode
Source§impl Default for AutoDeleteMode
impl Default for AutoDeleteMode
Source§impl<'de> Deserialize<'de> for AutoDeleteMode
impl<'de> Deserialize<'de> for AutoDeleteMode
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
Source§impl PartialEq for AutoDeleteMode
impl PartialEq for AutoDeleteMode
Source§impl Serialize for AutoDeleteMode
impl Serialize for AutoDeleteMode
impl StructuralPartialEq for AutoDeleteMode
Auto Trait Implementations§
impl Freeze for AutoDeleteMode
impl RefUnwindSafe for AutoDeleteMode
impl Send for AutoDeleteMode
impl Sync for AutoDeleteMode
impl Unpin for AutoDeleteMode
impl UnsafeUnpin for AutoDeleteMode
impl UnwindSafe for AutoDeleteMode
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