pub struct EditPipelineScheduleBuilder<'a> { /* private fields */ }
Expand description
Builder for EditPipelineSchedule
.
Implementations§
Source§impl<'a> EditPipelineScheduleBuilder<'a>
impl<'a> EditPipelineScheduleBuilder<'a>
Sourcepub fn project<VALUE: Into<NameOrId<'a>>>(&mut self, value: VALUE) -> &mut Self
pub fn project<VALUE: Into<NameOrId<'a>>>(&mut self, value: VALUE) -> &mut Self
The project to edit the pipeline schedule within.
Sourcepub fn description<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn description<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
The description of the pipeline schedule.
Sourcepub fn ref_<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn ref_<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
The ref to create the pipeline schedule for.
Sourcepub fn cron(&mut self, value: PipelineScheduleCron) -> &mut Self
pub fn cron(&mut self, value: PipelineScheduleCron) -> &mut Self
The cron
schedule.
Sourcepub fn cron_timezone(
&mut self,
value: PipelineScheduleTimeZone<'a>,
) -> &mut Self
pub fn cron_timezone( &mut self, value: PipelineScheduleTimeZone<'a>, ) -> &mut Self
The timezone to use.
Defaults to UTC
.
Sourcepub fn build(
&self,
) -> Result<EditPipelineSchedule<'a>, EditPipelineScheduleBuilderError>
pub fn build( &self, ) -> Result<EditPipelineSchedule<'a>, EditPipelineScheduleBuilderError>
Trait Implementations§
Source§impl<'a> Clone for EditPipelineScheduleBuilder<'a>
impl<'a> Clone for EditPipelineScheduleBuilder<'a>
Source§fn clone(&self) -> EditPipelineScheduleBuilder<'a>
fn clone(&self) -> EditPipelineScheduleBuilder<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for EditPipelineScheduleBuilder<'a>
impl<'a> RefUnwindSafe for EditPipelineScheduleBuilder<'a>
impl<'a> Send for EditPipelineScheduleBuilder<'a>
impl<'a> Sync for EditPipelineScheduleBuilder<'a>
impl<'a> Unpin for EditPipelineScheduleBuilder<'a>
impl<'a> UnwindSafe for EditPipelineScheduleBuilder<'a>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more