pub struct StartBatchOperationRequest {
pub namespace: String,
pub visibility_query: String,
pub job_id: String,
pub reason: String,
pub executions: Vec<WorkflowExecution>,
pub max_operations_per_second: f32,
pub operation: Option<Operation>,
}Fields§
§namespace: StringNamespace that contains the batch operation
visibility_query: StringVisibility query defines the the group of workflow to apply the batch operation
This field and executions are mutually exclusive
job_id: StringJob ID defines the unique ID for the batch job
reason: StringReason to perform the batch operation
executions: Vec<WorkflowExecution>Executions to apply the batch operation
This field and visibility_query are mutually exclusive
max_operations_per_second: f32Limit for the number of operations processed per second within this batch.
Its purpose is to reduce the stress on the system caused by batch operations, which helps to prevent system
overload and minimize potential delays in executing ongoing tasks for user workers.
Note that when no explicit limit is provided, the server will operate according to its limit defined by the
dynamic configuration key worker.batcherRPS. This also applies if the value in this field exceeds the
server’s configured limit.
operation: Option<Operation>Operation input
Trait Implementations§
Source§impl Clone for StartBatchOperationRequest
impl Clone for StartBatchOperationRequest
Source§fn clone(&self) -> StartBatchOperationRequest
fn clone(&self) -> StartBatchOperationRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StartBatchOperationRequest
impl Debug for StartBatchOperationRequest
Source§impl Default for StartBatchOperationRequest
impl Default for StartBatchOperationRequest
Source§impl Message for StartBatchOperationRequest
impl Message for StartBatchOperationRequest
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 StartBatchOperationRequest
impl Name for StartBatchOperationRequest
Source§const NAME: &'static str = "StartBatchOperationRequest"
const NAME: &'static str = "StartBatchOperationRequest"
Message.
This name is the same as it appears in the source .proto file, e.g. FooBar.Source§const PACKAGE: &'static str = "temporal.api.workflowservice.v1"
const PACKAGE: &'static str = "temporal.api.workflowservice.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.§impl PayloadVisitable for StartBatchOperationRequest
impl PayloadVisitable for StartBatchOperationRequest
§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 StartBatchOperationRequest
Auto Trait Implementations§
impl Freeze for StartBatchOperationRequest
impl RefUnwindSafe for StartBatchOperationRequest
impl Send for StartBatchOperationRequest
impl Sync for StartBatchOperationRequest
impl Unpin for StartBatchOperationRequest
impl UnsafeUnpin for StartBatchOperationRequest
impl UnwindSafe for StartBatchOperationRequest
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