pub struct ContinueAsNewOptions {
pub workflow_type: Option<String>,
pub task_queue: Option<String>,
}Expand description
Optional routing overrides for a continue-as-new transition.
Omitted values retain the current workflow type and task queue. Server-owned instance metadata is not accepted here and is carried by the server.
Fields§
§workflow_type: Option<String>§task_queue: Option<String>Implementations§
Source§impl ContinueAsNewOptions
impl ContinueAsNewOptions
pub fn new() -> Self
pub fn workflow_type(self, workflow_type: impl Into<String>) -> Self
pub fn task_queue(self, task_queue: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for ContinueAsNewOptions
impl Clone for ContinueAsNewOptions
Source§fn clone(&self) -> ContinueAsNewOptions
fn clone(&self) -> ContinueAsNewOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContinueAsNewOptions
impl Debug for ContinueAsNewOptions
Source§impl Default for ContinueAsNewOptions
impl Default for ContinueAsNewOptions
Source§fn default() -> ContinueAsNewOptions
fn default() -> ContinueAsNewOptions
Returns the “default value” for a type. Read more
impl Eq for ContinueAsNewOptions
Source§impl PartialEq for ContinueAsNewOptions
impl PartialEq for ContinueAsNewOptions
impl StructuralPartialEq for ContinueAsNewOptions
Auto Trait Implementations§
impl Freeze for ContinueAsNewOptions
impl RefUnwindSafe for ContinueAsNewOptions
impl Send for ContinueAsNewOptions
impl Sync for ContinueAsNewOptions
impl Unpin for ContinueAsNewOptions
impl UnsafeUnpin for ContinueAsNewOptions
impl UnwindSafe for ContinueAsNewOptions
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