pub struct SignalWithStartOptionsBuilder { /* private fields */ }Expand description
Builder for SignalWithStartOptions.
Implementations§
Source§impl SignalWithStartOptionsBuilder
impl SignalWithStartOptionsBuilder
Sourcepub fn task_queue<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn task_queue<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Task Queue to target (required)
Sourcepub fn workflow_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn workflow_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Workflow id for the workflow run
Sourcepub fn workflow_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn workflow_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Workflow type for the workflow run
Sourcepub fn request_id(&mut self, value: String) -> &mut Self
pub fn request_id(&mut self, value: String) -> &mut Self
Request id for idempotency/deduplication
Sourcepub fn signal_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn signal_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The signal name to send (required)
Sourcepub fn signal_input(&mut self, value: Option<Payloads>) -> &mut Self
pub fn signal_input(&mut self, value: Option<Payloads>) -> &mut Self
Payloads for the signal
Sourcepub fn signal_header(&mut self, value: Header) -> &mut Self
pub fn signal_header(&mut self, value: Header) -> &mut Self
Headers for the signal
Sourcepub fn build(
&self,
) -> Result<SignalWithStartOptions, SignalWithStartOptionsBuilderError>
pub fn build( &self, ) -> Result<SignalWithStartOptions, SignalWithStartOptionsBuilderError>
Trait Implementations§
Source§impl Clone for SignalWithStartOptionsBuilder
impl Clone for SignalWithStartOptionsBuilder
Source§fn clone(&self) -> SignalWithStartOptionsBuilder
fn clone(&self) -> SignalWithStartOptionsBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SignalWithStartOptionsBuilder
impl RefUnwindSafe for SignalWithStartOptionsBuilder
impl Send for SignalWithStartOptionsBuilder
impl Sync for SignalWithStartOptionsBuilder
impl Unpin for SignalWithStartOptionsBuilder
impl UnwindSafe for SignalWithStartOptionsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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