pub struct UpdateScheduleRequest {
pub recurrence: Option<ScheduleRecurrence>,
pub scheduled_date: Option<String>,
pub allow_concurrency: Option<bool>,
pub retry_on_failure: Option<bool>,
pub max_retries: Option<i64>,
pub notes: Option<String>,
pub scrape_config: Option<HashMap<String, Value>>,
pub screenshot_config: Option<HashMap<String, Value>>,
pub crawler_config: Option<HashMap<String, Value>>,
}Expand description
PATCH payload. Only fields explicitly set are forwarded.
Fields§
§recurrence: Option<ScheduleRecurrence>Replace the recurrence cadence.
scheduled_date: Option<String>Replace the one-shot fire datetime.
allow_concurrency: Option<bool>Replace the concurrency flag.
retry_on_failure: Option<bool>Replace the retry-on-failure flag.
max_retries: Option<i64>Replace the per-fire retry cap.
notes: Option<String>Replace the dashboard notes.
scrape_config: Option<HashMap<String, Value>>Replace the scrape config (only valid for scrape schedules).
screenshot_config: Option<HashMap<String, Value>>Replace the screenshot config (only valid for screenshot schedules).
crawler_config: Option<HashMap<String, Value>>Replace the crawler config (only valid for crawler schedules).
Trait Implementations§
Source§impl Clone for UpdateScheduleRequest
impl Clone for UpdateScheduleRequest
Source§fn clone(&self) -> UpdateScheduleRequest
fn clone(&self) -> UpdateScheduleRequest
Returns a duplicate 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 Debug for UpdateScheduleRequest
impl Debug for UpdateScheduleRequest
Source§impl Default for UpdateScheduleRequest
impl Default for UpdateScheduleRequest
Source§fn default() -> UpdateScheduleRequest
fn default() -> UpdateScheduleRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateScheduleRequest
impl RefUnwindSafe for UpdateScheduleRequest
impl Send for UpdateScheduleRequest
impl Sync for UpdateScheduleRequest
impl Unpin for UpdateScheduleRequest
impl UnsafeUnpin for UpdateScheduleRequest
impl UnwindSafe for UpdateScheduleRequest
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