#[non_exhaustive]pub struct ScheduleDescriptionStartWorkflowAction { /* private fields */ }Expand description
Start-workflow action details returned by a schedule description.
Implementations§
Source§impl ScheduleDescriptionStartWorkflowAction
impl ScheduleDescriptionStartWorkflowAction
Sourcepub fn workflow_type(&self) -> &str
pub fn workflow_type(&self) -> &str
The workflow type name.
Sourcepub fn task_queue(&self) -> &str
pub fn task_queue(&self) -> &str
The task queue to run the workflow on.
Sourcepub fn workflow_id(&self) -> &str
pub fn workflow_id(&self) -> &str
The workflow ID configured on the schedule action.
Sourcepub async fn args<T: TemporalDeserializable + 'static>(
&self,
) -> Result<Option<T>, PayloadConversionError>
pub async fn args<T: TemporalDeserializable + 'static>( &self, ) -> Result<Option<T>, PayloadConversionError>
Returns the workflow arguments deserialized as the requested type, if present.
Trait Implementations§
Source§impl Clone for ScheduleDescriptionStartWorkflowAction
impl Clone for ScheduleDescriptionStartWorkflowAction
Source§fn clone(&self) -> ScheduleDescriptionStartWorkflowAction
fn clone(&self) -> ScheduleDescriptionStartWorkflowAction
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ScheduleDescriptionStartWorkflowAction
impl !UnwindSafe for ScheduleDescriptionStartWorkflowAction
impl Freeze for ScheduleDescriptionStartWorkflowAction
impl Send for ScheduleDescriptionStartWorkflowAction
impl Sync for ScheduleDescriptionStartWorkflowAction
impl Unpin for ScheduleDescriptionStartWorkflowAction
impl UnsafeUnpin for ScheduleDescriptionStartWorkflowAction
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