#[non_exhaustive]pub struct TaskTemplateDefaultsBuilder { /* private fields */ }
Expand description
A builder for TaskTemplateDefaults
.
Implementations§
source§impl TaskTemplateDefaultsBuilder
impl TaskTemplateDefaultsBuilder
sourcepub fn default_field_values(self, input: TaskTemplateDefaultFieldValue) -> Self
pub fn default_field_values(self, input: TaskTemplateDefaultFieldValue) -> Self
Appends an item to default_field_values
.
To override the contents of this collection use set_default_field_values
.
Default value for the field.
sourcepub fn set_default_field_values(
self,
input: Option<Vec<TaskTemplateDefaultFieldValue>>
) -> Self
pub fn set_default_field_values( self, input: Option<Vec<TaskTemplateDefaultFieldValue>> ) -> Self
Default value for the field.
sourcepub fn get_default_field_values(
&self
) -> &Option<Vec<TaskTemplateDefaultFieldValue>>
pub fn get_default_field_values( &self ) -> &Option<Vec<TaskTemplateDefaultFieldValue>>
Default value for the field.
sourcepub fn build(self) -> TaskTemplateDefaults
pub fn build(self) -> TaskTemplateDefaults
Consumes the builder and constructs a TaskTemplateDefaults
.
Trait Implementations§
source§impl Clone for TaskTemplateDefaultsBuilder
impl Clone for TaskTemplateDefaultsBuilder
source§fn clone(&self) -> TaskTemplateDefaultsBuilder
fn clone(&self) -> TaskTemplateDefaultsBuilder
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 TaskTemplateDefaultsBuilder
impl Debug for TaskTemplateDefaultsBuilder
source§impl Default for TaskTemplateDefaultsBuilder
impl Default for TaskTemplateDefaultsBuilder
source§fn default() -> TaskTemplateDefaultsBuilder
fn default() -> TaskTemplateDefaultsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TaskTemplateDefaultsBuilder
impl PartialEq for TaskTemplateDefaultsBuilder
source§fn eq(&self, other: &TaskTemplateDefaultsBuilder) -> bool
fn eq(&self, other: &TaskTemplateDefaultsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TaskTemplateDefaultsBuilder
Auto Trait Implementations§
impl Freeze for TaskTemplateDefaultsBuilder
impl RefUnwindSafe for TaskTemplateDefaultsBuilder
impl Send for TaskTemplateDefaultsBuilder
impl Sync for TaskTemplateDefaultsBuilder
impl Unpin for TaskTemplateDefaultsBuilder
impl UnwindSafe for TaskTemplateDefaultsBuilder
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.