#[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§impl Debug for SignalWithStartOptions
impl Debug for SignalWithStartOptions
Source§impl Default for SignalWithStartOptions
impl Default for SignalWithStartOptions
impl Eq for SignalWithStartOptions
Source§impl PartialEq for SignalWithStartOptions
impl PartialEq for SignalWithStartOptions
impl StructuralPartialEq for SignalWithStartOptions
Auto Trait Implementations§
impl Forget for SignalWithStartOptions
impl Freeze for SignalWithStartOptions
impl Move for SignalWithStartOptions
impl RefUnwindSafe for SignalWithStartOptions
impl Send for SignalWithStartOptionswhere
RawVecInner: Send,
impl Sync for SignalWithStartOptionswhere
RawVecInner: Sync,
impl Unpin for SignalWithStartOptions
impl UnsafeUnpin for SignalWithStartOptions
impl UnwindSafe for SignalWithStartOptionswhere
RawVecInner: UnwindSafe,
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