pub struct StartChildWorkflowExecutionCommandAttributes {Show 18 fields
pub namespace: String,
pub workflow_id: String,
pub workflow_type: Option<WorkflowType>,
pub task_queue: Option<TaskQueue>,
pub input: Option<Payloads>,
pub workflow_execution_timeout: Option<Duration>,
pub workflow_run_timeout: Option<Duration>,
pub workflow_task_timeout: Option<Duration>,
pub parent_close_policy: i32,
pub control: String,
pub workflow_id_reuse_policy: i32,
pub retry_policy: Option<RetryPolicy>,
pub cron_schedule: String,
pub header: Option<Header>,
pub memo: Option<Memo>,
pub search_attributes: Option<SearchAttributes>,
pub inherit_build_id: bool,
pub priority: Option<Priority>,
}Fields§
§namespace: String§workflow_id: String§workflow_type: Option<WorkflowType>§task_queue: Option<TaskQueue>§input: Option<Payloads>§workflow_execution_timeout: Option<Duration>Total workflow execution timeout including retries and continue as new.
workflow_run_timeout: Option<Duration>Timeout of a single workflow run.
workflow_task_timeout: Option<Duration>Timeout of a single workflow task.
parent_close_policy: i32Default: PARENT_CLOSE_POLICY_TERMINATE.
control: String§workflow_id_reuse_policy: i32Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
retry_policy: Option<RetryPolicy>§cron_schedule: StringEstablish a cron schedule for the child workflow.
header: Option<Header>§memo: Option<Memo>§search_attributes: Option<SearchAttributes>§inherit_build_id: boolIf this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment rules of the child’s Task Queue will be used to independently assign a Build ID to it. Deprecated. Only considered for versioning v0.2.
priority: Option<Priority>Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow.
Implementations§
Source§impl StartChildWorkflowExecutionCommandAttributes
impl StartChildWorkflowExecutionCommandAttributes
Sourcepub fn parent_close_policy(&self) -> ParentClosePolicy
pub fn parent_close_policy(&self) -> ParentClosePolicy
Returns the enum value of parent_close_policy, or the default if the field is set to an invalid enum value.
Sourcepub fn set_parent_close_policy(&mut self, value: ParentClosePolicy)
pub fn set_parent_close_policy(&mut self, value: ParentClosePolicy)
Sets parent_close_policy to the provided enum value.
Sourcepub fn workflow_id_reuse_policy(&self) -> WorkflowIdReusePolicy
pub fn workflow_id_reuse_policy(&self) -> WorkflowIdReusePolicy
Returns the enum value of workflow_id_reuse_policy, or the default if the field is set to an invalid enum value.
Sourcepub fn set_workflow_id_reuse_policy(&mut self, value: WorkflowIdReusePolicy)
pub fn set_workflow_id_reuse_policy(&mut self, value: WorkflowIdReusePolicy)
Sets workflow_id_reuse_policy to the provided enum value.
Trait Implementations§
Source§impl Clone for StartChildWorkflowExecutionCommandAttributes
impl Clone for StartChildWorkflowExecutionCommandAttributes
Source§fn clone(&self) -> StartChildWorkflowExecutionCommandAttributes
fn clone(&self) -> StartChildWorkflowExecutionCommandAttributes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl From<StartChildWorkflowExecutionCommandAttributes> for Attributes
impl From<StartChildWorkflowExecutionCommandAttributes> for Attributes
Source§fn from(value: StartChildWorkflowExecutionCommandAttributes) -> Self
fn from(value: StartChildWorkflowExecutionCommandAttributes) -> Self
Source§impl Message for StartChildWorkflowExecutionCommandAttributes
impl Message for StartChildWorkflowExecutionCommandAttributes
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl Name for StartChildWorkflowExecutionCommandAttributes
impl Name for StartChildWorkflowExecutionCommandAttributes
Source§const NAME: &'static str = "StartChildWorkflowExecutionCommandAttributes"
const NAME: &'static str = "StartChildWorkflowExecutionCommandAttributes"
Message.
This name is the same as it appears in the source .proto file, e.g. FooBar.Source§const PACKAGE: &'static str = "temporal.api.command.v1"
const PACKAGE: &'static str = "temporal.api.command.v1"
., e.g. google.protobuf.Source§fn full_name() -> String
fn full_name() -> String
Message.
It’s prefixed with the package name and names of any parent messages,
e.g. google.rpc.BadRequest.FieldViolation.
By default, this is the package name followed by the message name.
Fully-qualified names must be unique within a domain of Type URLs.Source§impl PartialEq for StartChildWorkflowExecutionCommandAttributes
impl PartialEq for StartChildWorkflowExecutionCommandAttributes
Source§fn eq(&self, other: &StartChildWorkflowExecutionCommandAttributes) -> bool
fn eq(&self, other: &StartChildWorkflowExecutionCommandAttributes) -> bool
self and other values to be equal, and is used by ==.§impl PayloadVisitable for StartChildWorkflowExecutionCommandAttributes
impl PayloadVisitable for StartChildWorkflowExecutionCommandAttributes
§fn visit_payloads_mut<'a>(
&'a mut self,
visitor: &'a mut (dyn AsyncPayloadVisitor + Send),
) -> BoxFuture<'a, ()>
fn visit_payloads_mut<'a>( &'a mut self, visitor: &'a mut (dyn AsyncPayloadVisitor + Send), ) -> BoxFuture<'a, ()>
impl StructuralPartialEq for StartChildWorkflowExecutionCommandAttributes
Auto Trait Implementations§
impl Freeze for StartChildWorkflowExecutionCommandAttributes
impl RefUnwindSafe for StartChildWorkflowExecutionCommandAttributes
impl Send for StartChildWorkflowExecutionCommandAttributes
impl Sync for StartChildWorkflowExecutionCommandAttributes
impl Unpin for StartChildWorkflowExecutionCommandAttributes
impl UnsafeUnpin for StartChildWorkflowExecutionCommandAttributes
impl UnwindSafe for StartChildWorkflowExecutionCommandAttributes
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
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>
T in a tonic::Request