pub struct AnnotationQueueBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> AnnotationQueueBuilder<S>
impl<S: State> AnnotationQueueBuilder<S>
Sourcepub fn build(self) -> AnnotationQueuewhere
S: IsComplete,
pub fn build(self) -> AnnotationQueuewhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn id(self, value: String) -> AnnotationQueueBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn id(self, value: String) -> AnnotationQueueBuilder<SetId<S>>where
S::Id: IsUnset,
Required.
Sourcepub fn name(self, value: String) -> AnnotationQueueBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(self, value: String) -> AnnotationQueueBuilder<SetName<S>>where
S::Name: IsUnset,
Required.
Sourcepub fn description(
self,
value: Option<String>,
) -> AnnotationQueueBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: Option<String>,
) -> AnnotationQueueBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn maybe_description(
self,
value: Option<Option<String>>,
) -> AnnotationQueueBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<Option<String>>,
) -> AnnotationQueueBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn score_config_ids(
self,
value: Vec<String>,
) -> AnnotationQueueBuilder<SetScoreConfigIds<S>>where
S::ScoreConfigIds: IsUnset,
pub fn score_config_ids(
self,
value: Vec<String>,
) -> AnnotationQueueBuilder<SetScoreConfigIds<S>>where
S::ScoreConfigIds: IsUnset,
Required.
Sourcepub fn created_at(
self,
value: String,
) -> AnnotationQueueBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
pub fn created_at(
self,
value: String,
) -> AnnotationQueueBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
Required.
Sourcepub fn updated_at(
self,
value: String,
) -> AnnotationQueueBuilder<SetUpdatedAt<S>>where
S::UpdatedAt: IsUnset,
pub fn updated_at(
self,
value: String,
) -> AnnotationQueueBuilder<SetUpdatedAt<S>>where
S::UpdatedAt: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for AnnotationQueueBuilder<S>
impl<S> RefUnwindSafe for AnnotationQueueBuilder<S>
impl<S> Send for AnnotationQueueBuilder<S>
impl<S> Sync for AnnotationQueueBuilder<S>
impl<S> Unpin for AnnotationQueueBuilder<S>
impl<S> UnwindSafe for AnnotationQueueBuilder<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