#[non_exhaustive]pub struct TaskTemplateDefaultFieldValueBuilder { /* private fields */ }
Expand description
A builder for TaskTemplateDefaultFieldValue
.
Implementations§
source§impl TaskTemplateDefaultFieldValueBuilder
impl TaskTemplateDefaultFieldValueBuilder
sourcepub fn id(self, input: TaskTemplateFieldIdentifier) -> Self
pub fn id(self, input: TaskTemplateFieldIdentifier) -> Self
Identifier of a field.
sourcepub fn set_id(self, input: Option<TaskTemplateFieldIdentifier>) -> Self
pub fn set_id(self, input: Option<TaskTemplateFieldIdentifier>) -> Self
Identifier of a field.
sourcepub fn get_id(&self) -> &Option<TaskTemplateFieldIdentifier>
pub fn get_id(&self) -> &Option<TaskTemplateFieldIdentifier>
Identifier of a field.
sourcepub fn default_value(self, input: impl Into<String>) -> Self
pub fn default_value(self, input: impl Into<String>) -> Self
Default value for the field.
sourcepub fn set_default_value(self, input: Option<String>) -> Self
pub fn set_default_value(self, input: Option<String>) -> Self
Default value for the field.
sourcepub fn get_default_value(&self) -> &Option<String>
pub fn get_default_value(&self) -> &Option<String>
Default value for the field.
sourcepub fn build(self) -> TaskTemplateDefaultFieldValue
pub fn build(self) -> TaskTemplateDefaultFieldValue
Consumes the builder and constructs a TaskTemplateDefaultFieldValue
.
Trait Implementations§
source§impl Clone for TaskTemplateDefaultFieldValueBuilder
impl Clone for TaskTemplateDefaultFieldValueBuilder
source§fn clone(&self) -> TaskTemplateDefaultFieldValueBuilder
fn clone(&self) -> TaskTemplateDefaultFieldValueBuilder
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 Default for TaskTemplateDefaultFieldValueBuilder
impl Default for TaskTemplateDefaultFieldValueBuilder
source§fn default() -> TaskTemplateDefaultFieldValueBuilder
fn default() -> TaskTemplateDefaultFieldValueBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TaskTemplateDefaultFieldValueBuilder
impl PartialEq for TaskTemplateDefaultFieldValueBuilder
source§fn eq(&self, other: &TaskTemplateDefaultFieldValueBuilder) -> bool
fn eq(&self, other: &TaskTemplateDefaultFieldValueBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TaskTemplateDefaultFieldValueBuilder
Auto Trait Implementations§
impl Freeze for TaskTemplateDefaultFieldValueBuilder
impl RefUnwindSafe for TaskTemplateDefaultFieldValueBuilder
impl Send for TaskTemplateDefaultFieldValueBuilder
impl Sync for TaskTemplateDefaultFieldValueBuilder
impl Unpin for TaskTemplateDefaultFieldValueBuilder
impl UnwindSafe for TaskTemplateDefaultFieldValueBuilder
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.