#[non_exhaustive]pub struct CreateWorkerOutputBuilder { /* private fields */ }Expand description
A builder for CreateWorkerOutput.
Implementations§
source§impl CreateWorkerOutputBuilder
impl CreateWorkerOutputBuilder
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
Timestamp at which the resource was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
Timestamp at which the resource was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
Timestamp at which the resource was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
Timestamp at which the resource was last updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
Timestamp at which the resource was last updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
Timestamp at which the resource was last updated.
sourcepub fn build(self) -> CreateWorkerOutput
pub fn build(self) -> CreateWorkerOutput
Consumes the builder and constructs a CreateWorkerOutput.
Trait Implementations§
source§impl Clone for CreateWorkerOutputBuilder
impl Clone for CreateWorkerOutputBuilder
source§fn clone(&self) -> CreateWorkerOutputBuilder
fn clone(&self) -> CreateWorkerOutputBuilder
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 CreateWorkerOutputBuilder
impl Debug for CreateWorkerOutputBuilder
source§impl Default for CreateWorkerOutputBuilder
impl Default for CreateWorkerOutputBuilder
source§fn default() -> CreateWorkerOutputBuilder
fn default() -> CreateWorkerOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateWorkerOutputBuilder> for CreateWorkerOutputBuilder
impl PartialEq<CreateWorkerOutputBuilder> for CreateWorkerOutputBuilder
source§fn eq(&self, other: &CreateWorkerOutputBuilder) -> bool
fn eq(&self, other: &CreateWorkerOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateWorkerOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateWorkerOutputBuilder
impl Send for CreateWorkerOutputBuilder
impl Sync for CreateWorkerOutputBuilder
impl Unpin for CreateWorkerOutputBuilder
impl UnwindSafe for CreateWorkerOutputBuilder
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