pub struct WorkflowExecuteUpdateOptionsBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> WorkflowExecuteUpdateOptionsBuilder<S>
impl<S: State> WorkflowExecuteUpdateOptionsBuilder<S>
Sourcepub fn build(self) -> WorkflowExecuteUpdateOptionswhere
S: IsComplete,
pub fn build(self) -> WorkflowExecuteUpdateOptionswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn update_id(
self,
value: String,
) -> WorkflowExecuteUpdateOptionsBuilder<SetUpdateId<S>>where
S::UpdateId: IsUnset,
pub fn update_id(
self,
value: String,
) -> WorkflowExecuteUpdateOptionsBuilder<SetUpdateId<S>>where
S::UpdateId: IsUnset,
Sourcepub fn maybe_update_id(
self,
value: Option<String>,
) -> WorkflowExecuteUpdateOptionsBuilder<SetUpdateId<S>>where
S::UpdateId: IsUnset,
pub fn maybe_update_id(
self,
value: Option<String>,
) -> WorkflowExecuteUpdateOptionsBuilder<SetUpdateId<S>>where
S::UpdateId: IsUnset,
Sourcepub fn header(
self,
value: Header,
) -> WorkflowExecuteUpdateOptionsBuilder<SetHeader<S>>where
S::Header: IsUnset,
pub fn header(
self,
value: Header,
) -> WorkflowExecuteUpdateOptionsBuilder<SetHeader<S>>where
S::Header: IsUnset,
Sourcepub fn maybe_header(
self,
value: Option<Header>,
) -> WorkflowExecuteUpdateOptionsBuilder<SetHeader<S>>where
S::Header: IsUnset,
pub fn maybe_header(
self,
value: Option<Header>,
) -> WorkflowExecuteUpdateOptionsBuilder<SetHeader<S>>where
S::Header: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for WorkflowExecuteUpdateOptionsBuilder<S>
impl<S> RefUnwindSafe for WorkflowExecuteUpdateOptionsBuilder<S>
impl<S> Send for WorkflowExecuteUpdateOptionsBuilder<S>
impl<S> Sync for WorkflowExecuteUpdateOptionsBuilder<S>
impl<S> Unpin for WorkflowExecuteUpdateOptionsBuilder<S>
impl<S> UnsafeUnpin for WorkflowExecuteUpdateOptionsBuilder<S>
impl<S> UnwindSafe for WorkflowExecuteUpdateOptionsBuilder<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