#[non_exhaustive]pub struct ScheduleConfiguration {
pub first_execution_from: Option<String>,
pub object: Option<String>,
pub schedule_expression: String,
}
Expand description
The name of the data and how often it should be pulled from the source.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.first_execution_from: Option<String>
The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.
object: Option<String>
The name of the object to pull from the data source.
schedule_expression: String
How often the data should be pulled from data source.
Implementations§
source§impl ScheduleConfiguration
impl ScheduleConfiguration
sourcepub fn first_execution_from(&self) -> Option<&str>
pub fn first_execution_from(&self) -> Option<&str>
The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.
sourcepub fn schedule_expression(&self) -> &str
pub fn schedule_expression(&self) -> &str
How often the data should be pulled from data source.
source§impl ScheduleConfiguration
impl ScheduleConfiguration
sourcepub fn builder() -> ScheduleConfigurationBuilder
pub fn builder() -> ScheduleConfigurationBuilder
Creates a new builder-style object to manufacture ScheduleConfiguration
.
Trait Implementations§
source§impl Clone for ScheduleConfiguration
impl Clone for ScheduleConfiguration
source§fn clone(&self) -> ScheduleConfiguration
fn clone(&self) -> ScheduleConfiguration
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 ScheduleConfiguration
impl Debug for ScheduleConfiguration
source§impl PartialEq for ScheduleConfiguration
impl PartialEq for ScheduleConfiguration
source§fn eq(&self, other: &ScheduleConfiguration) -> bool
fn eq(&self, other: &ScheduleConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ScheduleConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for ScheduleConfiguration
impl Send for ScheduleConfiguration
impl Sync for ScheduleConfiguration
impl Unpin for ScheduleConfiguration
impl UnwindSafe for ScheduleConfiguration
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.