pub struct WorkflowUpdateWithStartOptionsBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> WorkflowUpdateWithStartOptionsBuilder<S>
impl<S: State> WorkflowUpdateWithStartOptionsBuilder<S>
Sourcepub fn build(self) -> WorkflowUpdateWithStartOptionswhere
S: IsComplete,
pub fn build(self) -> WorkflowUpdateWithStartOptionswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn id_reuse_policy(
self,
value: WorkflowIdReusePolicy,
) -> WorkflowUpdateWithStartOptionsBuilder<SetIdReusePolicy<S>>where
S::IdReusePolicy: IsUnset,
pub fn id_reuse_policy(
self,
value: WorkflowIdReusePolicy,
) -> WorkflowUpdateWithStartOptionsBuilder<SetIdReusePolicy<S>>where
S::IdReusePolicy: IsUnset,
Sourcepub fn maybe_id_reuse_policy(
self,
value: Option<WorkflowIdReusePolicy>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetIdReusePolicy<S>>where
S::IdReusePolicy: IsUnset,
pub fn maybe_id_reuse_policy(
self,
value: Option<WorkflowIdReusePolicy>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetIdReusePolicy<S>>where
S::IdReusePolicy: IsUnset,
Sourcepub fn execution_timeout(
self,
value: Duration,
) -> WorkflowUpdateWithStartOptionsBuilder<SetExecutionTimeout<S>>where
S::ExecutionTimeout: IsUnset,
pub fn execution_timeout(
self,
value: Duration,
) -> WorkflowUpdateWithStartOptionsBuilder<SetExecutionTimeout<S>>where
S::ExecutionTimeout: IsUnset,
Sourcepub fn maybe_execution_timeout(
self,
value: Option<Duration>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetExecutionTimeout<S>>where
S::ExecutionTimeout: IsUnset,
pub fn maybe_execution_timeout(
self,
value: Option<Duration>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetExecutionTimeout<S>>where
S::ExecutionTimeout: IsUnset,
Sourcepub fn run_timeout(
self,
value: Duration,
) -> WorkflowUpdateWithStartOptionsBuilder<SetRunTimeout<S>>where
S::RunTimeout: IsUnset,
pub fn run_timeout(
self,
value: Duration,
) -> WorkflowUpdateWithStartOptionsBuilder<SetRunTimeout<S>>where
S::RunTimeout: IsUnset,
Sourcepub fn maybe_run_timeout(
self,
value: Option<Duration>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetRunTimeout<S>>where
S::RunTimeout: IsUnset,
pub fn maybe_run_timeout(
self,
value: Option<Duration>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetRunTimeout<S>>where
S::RunTimeout: IsUnset,
Sourcepub fn task_timeout(
self,
value: Duration,
) -> WorkflowUpdateWithStartOptionsBuilder<SetTaskTimeout<S>>where
S::TaskTimeout: IsUnset,
pub fn task_timeout(
self,
value: Duration,
) -> WorkflowUpdateWithStartOptionsBuilder<SetTaskTimeout<S>>where
S::TaskTimeout: IsUnset,
Sourcepub fn maybe_task_timeout(
self,
value: Option<Duration>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetTaskTimeout<S>>where
S::TaskTimeout: IsUnset,
pub fn maybe_task_timeout(
self,
value: Option<Duration>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetTaskTimeout<S>>where
S::TaskTimeout: IsUnset,
Sourcepub fn search_attributes(
self,
value: SearchAttributes,
) -> WorkflowUpdateWithStartOptionsBuilder<SetSearchAttributes<S>>where
S::SearchAttributes: IsUnset,
pub fn search_attributes(
self,
value: SearchAttributes,
) -> WorkflowUpdateWithStartOptionsBuilder<SetSearchAttributes<S>>where
S::SearchAttributes: IsUnset,
Sourcepub fn maybe_search_attributes(
self,
value: Option<SearchAttributes>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetSearchAttributes<S>>where
S::SearchAttributes: IsUnset,
pub fn maybe_search_attributes(
self,
value: Option<SearchAttributes>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetSearchAttributes<S>>where
S::SearchAttributes: IsUnset,
Sourcepub fn retry_policy(
self,
value: impl Into<RetryPolicy>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetRetryPolicy<S>>where
S::RetryPolicy: IsUnset,
pub fn retry_policy(
self,
value: impl Into<RetryPolicy>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetRetryPolicy<S>>where
S::RetryPolicy: IsUnset,
Sourcepub fn maybe_retry_policy(
self,
value: Option<impl Into<RetryPolicy>>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetRetryPolicy<S>>where
S::RetryPolicy: IsUnset,
pub fn maybe_retry_policy(
self,
value: Option<impl Into<RetryPolicy>>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetRetryPolicy<S>>where
S::RetryPolicy: IsUnset,
Sourcepub fn links(
self,
value: Vec<Link>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetLinks<S>>where
S::Links: IsUnset,
pub fn links(
self,
value: Vec<Link>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetLinks<S>>where
S::Links: IsUnset,
Sourcepub fn maybe_links(
self,
value: Option<Vec<Link>>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetLinks<S>>where
S::Links: IsUnset,
pub fn maybe_links(
self,
value: Option<Vec<Link>>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetLinks<S>>where
S::Links: IsUnset,
Sourcepub fn completion_callbacks(
self,
value: Vec<Callback>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetCompletionCallbacks<S>>where
S::CompletionCallbacks: IsUnset,
pub fn completion_callbacks(
self,
value: Vec<Callback>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetCompletionCallbacks<S>>where
S::CompletionCallbacks: IsUnset,
Sourcepub fn maybe_completion_callbacks(
self,
value: Option<Vec<Callback>>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetCompletionCallbacks<S>>where
S::CompletionCallbacks: IsUnset,
pub fn maybe_completion_callbacks(
self,
value: Option<Vec<Callback>>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetCompletionCallbacks<S>>where
S::CompletionCallbacks: IsUnset,
Sourcepub fn priority(
self,
value: Priority,
) -> WorkflowUpdateWithStartOptionsBuilder<SetPriority<S>>where
S::Priority: IsUnset,
pub fn priority(
self,
value: Priority,
) -> WorkflowUpdateWithStartOptionsBuilder<SetPriority<S>>where
S::Priority: IsUnset,
Sourcepub fn maybe_priority(
self,
value: Option<Priority>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetPriority<S>>where
S::Priority: IsUnset,
pub fn maybe_priority(
self,
value: Option<Priority>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetPriority<S>>where
S::Priority: IsUnset,
Sourcepub fn start_header(
self,
value: Header,
) -> WorkflowUpdateWithStartOptionsBuilder<SetStartHeader<S>>where
S::StartHeader: IsUnset,
pub fn start_header(
self,
value: Header,
) -> WorkflowUpdateWithStartOptionsBuilder<SetStartHeader<S>>where
S::StartHeader: IsUnset,
Sourcepub fn maybe_start_header(
self,
value: Option<Header>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetStartHeader<S>>where
S::StartHeader: IsUnset,
pub fn maybe_start_header(
self,
value: Option<Header>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetStartHeader<S>>where
S::StartHeader: IsUnset,
Sourcepub fn update_header(
self,
value: Header,
) -> WorkflowUpdateWithStartOptionsBuilder<SetUpdateHeader<S>>where
S::UpdateHeader: IsUnset,
pub fn update_header(
self,
value: Header,
) -> WorkflowUpdateWithStartOptionsBuilder<SetUpdateHeader<S>>where
S::UpdateHeader: IsUnset,
Sourcepub fn maybe_update_header(
self,
value: Option<Header>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetUpdateHeader<S>>where
S::UpdateHeader: IsUnset,
pub fn maybe_update_header(
self,
value: Option<Header>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetUpdateHeader<S>>where
S::UpdateHeader: IsUnset,
Sourcepub fn memo(
self,
value: MemoValues,
) -> WorkflowUpdateWithStartOptionsBuilder<SetMemo<S>>where
S::Memo: IsUnset,
pub fn memo(
self,
value: MemoValues,
) -> WorkflowUpdateWithStartOptionsBuilder<SetMemo<S>>where
S::Memo: IsUnset,
Sourcepub fn maybe_memo(
self,
value: Option<MemoValues>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetMemo<S>>where
S::Memo: IsUnset,
pub fn maybe_memo(
self,
value: Option<MemoValues>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetMemo<S>>where
S::Memo: IsUnset,
Sourcepub fn static_summary(
self,
value: impl Into<String>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetStaticSummary<S>>where
S::StaticSummary: IsUnset,
pub fn static_summary(
self,
value: impl Into<String>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetStaticSummary<S>>where
S::StaticSummary: IsUnset,
Sourcepub fn maybe_static_summary(
self,
value: Option<impl Into<String>>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetStaticSummary<S>>where
S::StaticSummary: IsUnset,
pub fn maybe_static_summary(
self,
value: Option<impl Into<String>>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetStaticSummary<S>>where
S::StaticSummary: IsUnset,
Sourcepub fn static_details(
self,
value: impl Into<String>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetStaticDetails<S>>where
S::StaticDetails: IsUnset,
pub fn static_details(
self,
value: impl Into<String>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetStaticDetails<S>>where
S::StaticDetails: IsUnset,
Sourcepub fn maybe_static_details(
self,
value: Option<impl Into<String>>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetStaticDetails<S>>where
S::StaticDetails: IsUnset,
pub fn maybe_static_details(
self,
value: Option<impl Into<String>>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetStaticDetails<S>>where
S::StaticDetails: IsUnset,
Sourcepub fn update_id(
self,
value: impl Into<String>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetUpdateId<S>>where
S::UpdateId: IsUnset,
pub fn update_id(
self,
value: impl Into<String>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetUpdateId<S>>where
S::UpdateId: IsUnset,
Sourcepub fn maybe_update_id(
self,
value: Option<impl Into<String>>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetUpdateId<S>>where
S::UpdateId: IsUnset,
pub fn maybe_update_id(
self,
value: Option<impl Into<String>>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetUpdateId<S>>where
S::UpdateId: IsUnset,
Sourcepub fn rpc_options(
self,
value: RpcOptions,
) -> WorkflowUpdateWithStartOptionsBuilder<SetRpcOptions<S>>where
S::RpcOptions: IsUnset,
pub fn rpc_options(
self,
value: RpcOptions,
) -> WorkflowUpdateWithStartOptionsBuilder<SetRpcOptions<S>>where
S::RpcOptions: IsUnset,
Sourcepub fn maybe_rpc_options(
self,
value: Option<RpcOptions>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetRpcOptions<S>>where
S::RpcOptions: IsUnset,
pub fn maybe_rpc_options(
self,
value: Option<RpcOptions>,
) -> WorkflowUpdateWithStartOptionsBuilder<SetRpcOptions<S>>where
S::RpcOptions: IsUnset,
Auto Trait Implementations§
impl<S = Empty> !RefUnwindSafe for WorkflowUpdateWithStartOptionsBuilder<S>
impl<S = Empty> !UnwindSafe for WorkflowUpdateWithStartOptionsBuilder<S>
impl<S> Freeze for WorkflowUpdateWithStartOptionsBuilder<S>
impl<S> Send for WorkflowUpdateWithStartOptionsBuilder<S>
impl<S> Sync for WorkflowUpdateWithStartOptionsBuilder<S>
impl<S> Unpin for WorkflowUpdateWithStartOptionsBuilder<S>
impl<S> UnsafeUnpin for WorkflowUpdateWithStartOptionsBuilder<S>
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> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request