pub struct SignalWithStartOptions {
pub input: Option<Payloads>,
pub task_queue: String,
pub workflow_id: String,
pub workflow_type: String,
pub request_id: Option<String>,
pub signal_name: String,
pub signal_input: Option<Payloads>,
pub signal_header: Option<Header>,
}Expand description
Helper struct for signal_with_start_workflow_execution.
Fields§
§input: Option<Payloads>Input payload for the workflow run
task_queue: StringTask Queue to target (required)
workflow_id: StringWorkflow id for the workflow run
workflow_type: StringWorkflow type for the workflow run
request_id: Option<String>Request id for idempotency/deduplication
signal_name: StringThe signal name to send (required)
signal_input: Option<Payloads>Payloads for the signal
signal_header: Option<Header>Headers for the signal
Implementations§
Source§impl SignalWithStartOptions
impl SignalWithStartOptions
Sourcepub fn builder() -> SignalWithStartOptionsBuilder
pub fn builder() -> SignalWithStartOptionsBuilder
Builder convenience. Less use imports
Trait Implementations§
Source§impl Clone for SignalWithStartOptions
impl Clone for SignalWithStartOptions
Source§fn clone(&self) -> SignalWithStartOptions
fn clone(&self) -> SignalWithStartOptions
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 SignalWithStartOptions
impl RefUnwindSafe for SignalWithStartOptions
impl Send for SignalWithStartOptions
impl Sync for SignalWithStartOptions
impl Unpin for SignalWithStartOptions
impl UnwindSafe for SignalWithStartOptions
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