pub struct EventTimers { /* private fields */ }
Expand description
Event timers
Define timers that apply to only specific events
Note: Keys are case insensitive
-rr events:
Download
- when a download is completedRename
- when a file is renamed
Lidarr:
ArtistDelete
- when an artist is deleted
Radarr:
MovieDelete
- when a movie is deletedMovieFileDelete
- when a movie file is deleted
Readarr:
AuthorDelete
- when an author is deletedBookDelete
- when a book is deletedBookFileDelete
- when a book file is deleted
Sonarr:
SeriesDelete
- when a series is deletedEpisodeFileDelete
- when an episode file is deleted
Note: These timers apply on top of the original timer
Example:
event_timers:
download:
wait: 10
seriesdelete:
wait: 5
EpisodeFileDelete:
wait: 2
Implementations§
Trait Implementations§
Source§impl Clone for EventTimers
impl Clone for EventTimers
Source§fn clone(&self) -> EventTimers
fn clone(&self) -> EventTimers
Returns a copy 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 Default for EventTimers
impl Default for EventTimers
Source§fn default() -> EventTimers
fn default() -> EventTimers
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventTimers
impl<'de> Deserialize<'de> for EventTimers
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 EventTimers
impl RefUnwindSafe for EventTimers
impl Send for EventTimers
impl Sync for EventTimers
impl Unpin for EventTimers
impl UnwindSafe for EventTimers
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