#[non_exhaustive]pub struct UpdateCaseActionDefinitionBuilder { /* private fields */ }
Expand description
A builder for UpdateCaseActionDefinition
.
Implementations§
source§impl UpdateCaseActionDefinitionBuilder
impl UpdateCaseActionDefinitionBuilder
sourcepub fn fields(self, input: FieldValue) -> Self
pub fn fields(self, input: FieldValue) -> Self
Appends an item to fields
.
To override the contents of this collection use set_fields
.
An array of objects with Field ID
and Value data.
sourcepub fn set_fields(self, input: Option<Vec<FieldValue>>) -> Self
pub fn set_fields(self, input: Option<Vec<FieldValue>>) -> Self
An array of objects with Field ID
and Value data.
sourcepub fn get_fields(&self) -> &Option<Vec<FieldValue>>
pub fn get_fields(&self) -> &Option<Vec<FieldValue>>
An array of objects with Field ID
and Value data.
sourcepub fn build(self) -> Result<UpdateCaseActionDefinition, BuildError>
pub fn build(self) -> Result<UpdateCaseActionDefinition, BuildError>
Consumes the builder and constructs a UpdateCaseActionDefinition
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateCaseActionDefinitionBuilder
impl Clone for UpdateCaseActionDefinitionBuilder
source§fn clone(&self) -> UpdateCaseActionDefinitionBuilder
fn clone(&self) -> UpdateCaseActionDefinitionBuilder
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 UpdateCaseActionDefinitionBuilder
impl Default for UpdateCaseActionDefinitionBuilder
source§fn default() -> UpdateCaseActionDefinitionBuilder
fn default() -> UpdateCaseActionDefinitionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateCaseActionDefinitionBuilder
impl PartialEq for UpdateCaseActionDefinitionBuilder
source§fn eq(&self, other: &UpdateCaseActionDefinitionBuilder) -> bool
fn eq(&self, other: &UpdateCaseActionDefinitionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateCaseActionDefinitionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateCaseActionDefinitionBuilder
impl Send for UpdateCaseActionDefinitionBuilder
impl Sync for UpdateCaseActionDefinitionBuilder
impl Unpin for UpdateCaseActionDefinitionBuilder
impl UnwindSafe for UpdateCaseActionDefinitionBuilder
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.