pub struct SignalRef {
pub rpc_method: String,
pub start: bool,
}Expand description
Reference from a WorkflowOptions.signal entry to a sibling signal rpc.
Fields§
§rpc_method: StringValue of the ref field — must match a sibling rpc method name.
start: boolIf true, emit a _with_start free function alongside the client.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SignalRef
impl RefUnwindSafe for SignalRef
impl Send for SignalRef
impl Sync for SignalRef
impl Unpin for SignalRef
impl UnsafeUnpin for SignalRef
impl UnwindSafe for SignalRef
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