#[non_exhaustive]pub struct CreateJobOutputBuilder { /* private fields */ }Expand description
A builder for CreateJobOutput.
Implementations§
source§impl CreateJobOutputBuilder
impl CreateJobOutputBuilder
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time that the job was created, in ISO 8601 format.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time that the job was created, in ISO 8601 format.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time that the job was created, in ISO 8601 format.
sourcepub fn details(self, input: ResponseDetails) -> Self
pub fn details(self, input: ResponseDetails) -> Self
Details about the job.
sourcepub fn set_details(self, input: Option<ResponseDetails>) -> Self
pub fn set_details(self, input: Option<ResponseDetails>) -> Self
Details about the job.
sourcepub fn get_details(&self) -> &Option<ResponseDetails>
pub fn get_details(&self) -> &Option<ResponseDetails>
Details about the job.
sourcepub fn errors(self, input: JobError) -> Self
pub fn errors(self, input: JobError) -> Self
Appends an item to errors.
To override the contents of this collection use set_errors.
The errors associated with jobs.
sourcepub fn set_errors(self, input: Option<Vec<JobError>>) -> Self
pub fn set_errors(self, input: Option<Vec<JobError>>) -> Self
The errors associated with jobs.
sourcepub fn get_errors(&self) -> &Option<Vec<JobError>>
pub fn get_errors(&self) -> &Option<Vec<JobError>>
The errors associated with jobs.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The date and time that the job was last updated, in ISO 8601 format.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The date and time that the job was last updated, in ISO 8601 format.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The date and time that the job was last updated, in ISO 8601 format.
sourcepub fn build(self) -> CreateJobOutput
pub fn build(self) -> CreateJobOutput
Consumes the builder and constructs a CreateJobOutput.
Trait Implementations§
source§impl Clone for CreateJobOutputBuilder
impl Clone for CreateJobOutputBuilder
source§fn clone(&self) -> CreateJobOutputBuilder
fn clone(&self) -> CreateJobOutputBuilder
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 CreateJobOutputBuilder
impl Debug for CreateJobOutputBuilder
source§impl Default for CreateJobOutputBuilder
impl Default for CreateJobOutputBuilder
source§fn default() -> CreateJobOutputBuilder
fn default() -> CreateJobOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateJobOutputBuilder
impl PartialEq for CreateJobOutputBuilder
source§fn eq(&self, other: &CreateJobOutputBuilder) -> bool
fn eq(&self, other: &CreateJobOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateJobOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateJobOutputBuilder
impl RefUnwindSafe for CreateJobOutputBuilder
impl Send for CreateJobOutputBuilder
impl Sync for CreateJobOutputBuilder
impl Unpin for CreateJobOutputBuilder
impl UnwindSafe for CreateJobOutputBuilder
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.