#[non_exhaustive]pub struct SignalWithStartOptions {
pub start: WorkflowStartOptions,
pub open_run_policy: OpenRunPolicy,
pub closed_run_policy: ClosedRunPolicy,
pub request_id: Option<String>,
pub business_key: Option<String>,
}Expand description
Options for Client::signal_with_start.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start: WorkflowStartOptionsDeadlines for a run the intake starts. A reused open run keeps its own.
open_run_policy: OpenRunPolicy§closed_run_policy: ClosedRunPolicy§request_id: Option<String>The signal’s caller command key (1 to 255 Unicode characters). When
None, one sdk-rust-signal-with-start-<uuid> key is generated per call.
business_key: Option<String>Implementations§
Source§impl SignalWithStartOptions
impl SignalWithStartOptions
pub fn new() -> Self
pub fn start(self, start: WorkflowStartOptions) -> Self
pub fn open_run_policy(self, policy: OpenRunPolicy) -> Self
pub fn closed_run_policy(self, policy: ClosedRunPolicy) -> Self
pub fn request_id(self, request_id: impl Into<String>) -> Self
pub fn business_key(self, business_key: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for SignalWithStartOptions
impl Clone for SignalWithStartOptions
Source§fn clone(&self) -> SignalWithStartOptions
fn clone(&self) -> SignalWithStartOptions
Returns a copy 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 moreSource§impl Debug for SignalWithStartOptions
impl Debug for SignalWithStartOptions
Source§impl Default for SignalWithStartOptions
impl Default for SignalWithStartOptions
Source§fn default() -> SignalWithStartOptions
fn default() -> SignalWithStartOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for SignalWithStartOptions
impl PartialEq for SignalWithStartOptions
impl Eq for SignalWithStartOptions
impl StructuralPartialEq for SignalWithStartOptions
Auto 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