pub struct AnnotationQueueItemBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> AnnotationQueueItemBuilder<S>
impl<S: State> AnnotationQueueItemBuilder<S>
Sourcepub fn build(self) -> AnnotationQueueItemwhere
S: IsComplete,
pub fn build(self) -> AnnotationQueueItemwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn id(self, value: String) -> AnnotationQueueItemBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn id(self, value: String) -> AnnotationQueueItemBuilder<SetId<S>>where
S::Id: IsUnset,
Required.
Sourcepub fn queue_id(
self,
value: String,
) -> AnnotationQueueItemBuilder<SetQueueId<S>>where
S::QueueId: IsUnset,
pub fn queue_id(
self,
value: String,
) -> AnnotationQueueItemBuilder<SetQueueId<S>>where
S::QueueId: IsUnset,
Required.
Sourcepub fn object_id(
self,
value: String,
) -> AnnotationQueueItemBuilder<SetObjectId<S>>where
S::ObjectId: IsUnset,
pub fn object_id(
self,
value: String,
) -> AnnotationQueueItemBuilder<SetObjectId<S>>where
S::ObjectId: IsUnset,
Required.
Sourcepub fn object_type(
self,
value: AnnotationQueueObjectType,
) -> AnnotationQueueItemBuilder<SetObjectType<S>>where
S::ObjectType: IsUnset,
pub fn object_type(
self,
value: AnnotationQueueObjectType,
) -> AnnotationQueueItemBuilder<SetObjectType<S>>where
S::ObjectType: IsUnset,
Required.
Sourcepub fn status(
self,
value: AnnotationQueueStatus,
) -> AnnotationQueueItemBuilder<SetStatus<S>>where
S::Status: IsUnset,
pub fn status(
self,
value: AnnotationQueueStatus,
) -> AnnotationQueueItemBuilder<SetStatus<S>>where
S::Status: IsUnset,
Required.
Sourcepub fn completed_at(
self,
value: Option<String>,
) -> AnnotationQueueItemBuilder<SetCompletedAt<S>>where
S::CompletedAt: IsUnset,
pub fn completed_at(
self,
value: Option<String>,
) -> AnnotationQueueItemBuilder<SetCompletedAt<S>>where
S::CompletedAt: IsUnset,
Sourcepub fn maybe_completed_at(
self,
value: Option<Option<String>>,
) -> AnnotationQueueItemBuilder<SetCompletedAt<S>>where
S::CompletedAt: IsUnset,
pub fn maybe_completed_at(
self,
value: Option<Option<String>>,
) -> AnnotationQueueItemBuilder<SetCompletedAt<S>>where
S::CompletedAt: IsUnset,
Sourcepub fn created_at(
self,
value: String,
) -> AnnotationQueueItemBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
pub fn created_at(
self,
value: String,
) -> AnnotationQueueItemBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
Required.
Sourcepub fn updated_at(
self,
value: String,
) -> AnnotationQueueItemBuilder<SetUpdatedAt<S>>where
S::UpdatedAt: IsUnset,
pub fn updated_at(
self,
value: String,
) -> AnnotationQueueItemBuilder<SetUpdatedAt<S>>where
S::UpdatedAt: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for AnnotationQueueItemBuilder<S>
impl<S> RefUnwindSafe for AnnotationQueueItemBuilder<S>
impl<S> Send for AnnotationQueueItemBuilder<S>
impl<S> Sync for AnnotationQueueItemBuilder<S>
impl<S> Unpin for AnnotationQueueItemBuilder<S>
impl<S> UnwindSafe for AnnotationQueueItemBuilder<S>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more