pub struct JobRecurrence {
pub frequency: Option<Frequency>,
pub interval: Option<i64>,
pub count: Option<i64>,
pub end_time: Option<OffsetDateTime>,
pub schedule: Option<JobRecurrenceSchedule>,
}
Fields§
§frequency: Option<Frequency>
Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
interval: Option<i64>
Gets or sets the interval between retries.
count: Option<i64>
Gets or sets the maximum number of times that the job should run.
end_time: Option<OffsetDateTime>
Gets or sets the time at which the job will complete.
schedule: Option<JobRecurrenceSchedule>
Implementations§
source§impl JobRecurrence
impl JobRecurrence
Trait Implementations§
source§impl Clone for JobRecurrence
impl Clone for JobRecurrence
source§fn clone(&self) -> JobRecurrence
fn clone(&self) -> JobRecurrence
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 Debug for JobRecurrence
impl Debug for JobRecurrence
source§impl Default for JobRecurrence
impl Default for JobRecurrence
source§fn default() -> JobRecurrence
fn default() -> JobRecurrence
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for JobRecurrence
impl<'de> Deserialize<'de> for JobRecurrence
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<JobRecurrence> for JobRecurrence
impl PartialEq<JobRecurrence> for JobRecurrence
source§fn eq(&self, other: &JobRecurrence) -> bool
fn eq(&self, other: &JobRecurrence) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.