pub struct StepOptions {Show 20 fields
pub wait_for_timeout_seconds: i32,
pub execute_timeout_seconds: i32,
pub wait_for_retry_policy: Option<RetryPolicy>,
pub execute_retry_policy: Option<RetryPolicy>,
pub wait_for_failure_policy: i32,
pub execute_failure_policy: i32,
pub execute_failure_proceed_step_type: String,
pub execute_failure_proceed_step_options: Option<Box<StepOptions>>,
pub skip_wait_for: bool,
pub wait_for_durability_override: i32,
pub execute_durability_override: i32,
pub wait_for_lock_attribute_keys: Vec<String>,
pub execute_lock_attribute_keys: Vec<String>,
pub heartbeat_timeout_seconds: i32,
pub wait_for_load_attribute_map_instances: Vec<String>,
pub wait_for_load_channel_names: Vec<String>,
pub wait_for_load_channel_map_instances: Vec<String>,
pub execute_load_attribute_map_instances: Vec<String>,
pub execute_load_channel_names: Vec<String>,
pub execute_load_channel_map_instances: Vec<String>,
}Fields§
§wait_for_timeout_seconds: i32§execute_timeout_seconds: i32§wait_for_retry_policy: Option<RetryPolicy>§execute_retry_policy: Option<RetryPolicy>§wait_for_failure_policy: i32§execute_failure_policy: i32§execute_failure_proceed_step_type: String§execute_failure_proceed_step_options: Option<Box<StepOptions>>§skip_wait_for: bool§wait_for_durability_override: i32§execute_durability_override: i32§wait_for_lock_attribute_keys: Vec<String>§execute_lock_attribute_keys: Vec<String>§heartbeat_timeout_seconds: i32§wait_for_load_attribute_map_instances: Vec<String>§wait_for_load_channel_names: Vec<String>§wait_for_load_channel_map_instances: Vec<String>§execute_load_attribute_map_instances: Vec<String>§execute_load_channel_names: Vec<String>§execute_load_channel_map_instances: Vec<String>Implementations§
Source§impl StepOptions
impl StepOptions
Sourcepub fn wait_for_failure_policy(&self) -> WaitForMethodFailurePolicy
pub fn wait_for_failure_policy(&self) -> WaitForMethodFailurePolicy
Returns the enum value of wait_for_failure_policy, or the default if the field is set to an invalid enum value.
Sourcepub fn set_wait_for_failure_policy(&mut self, value: WaitForMethodFailurePolicy)
pub fn set_wait_for_failure_policy(&mut self, value: WaitForMethodFailurePolicy)
Sets wait_for_failure_policy to the provided enum value.
Sourcepub fn execute_failure_policy(&self) -> ExecuteMethodFailurePolicy
pub fn execute_failure_policy(&self) -> ExecuteMethodFailurePolicy
Returns the enum value of execute_failure_policy, or the default if the field is set to an invalid enum value.
Sourcepub fn set_execute_failure_policy(&mut self, value: ExecuteMethodFailurePolicy)
pub fn set_execute_failure_policy(&mut self, value: ExecuteMethodFailurePolicy)
Sets execute_failure_policy to the provided enum value.
Sourcepub fn wait_for_durability_override(&self) -> StepDurability
pub fn wait_for_durability_override(&self) -> StepDurability
Returns the enum value of wait_for_durability_override, or the default if the field is set to an invalid enum value.
Sourcepub fn set_wait_for_durability_override(&mut self, value: StepDurability)
pub fn set_wait_for_durability_override(&mut self, value: StepDurability)
Sets wait_for_durability_override to the provided enum value.
Sourcepub fn execute_durability_override(&self) -> StepDurability
pub fn execute_durability_override(&self) -> StepDurability
Returns the enum value of execute_durability_override, or the default if the field is set to an invalid enum value.
Sourcepub fn set_execute_durability_override(&mut self, value: StepDurability)
pub fn set_execute_durability_override(&mut self, value: StepDurability)
Sets execute_durability_override to the provided enum value.
Trait Implementations§
Source§impl Clone for StepOptions
impl Clone for StepOptions
Source§fn clone(&self) -> StepOptions
fn clone(&self) -> StepOptions
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 StepOptions
impl Debug for StepOptions
Source§impl Default for StepOptions
impl Default for StepOptions
Source§impl Message for StepOptions
impl Message for StepOptions
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for StepOptions
impl PartialEq for StepOptions
impl StructuralPartialEq for StepOptions
Auto Trait Implementations§
impl Freeze for StepOptions
impl RefUnwindSafe for StepOptions
impl Send for StepOptions
impl Sync for StepOptions
impl Unpin for StepOptions
impl UnsafeUnpin for StepOptions
impl UnwindSafe for StepOptions
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