pub struct TaskQueueVersionInfo {
pub types_info: HashMap<i32, TaskQueueTypeInfo>,
pub task_reachability: i32,
}Fields§
§types_info: HashMap<i32, TaskQueueTypeInfo>Task Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum.
task_reachability: i32Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY.
Note: future activities who inherit their workflow’s Build ID but not its Task Queue will not be accounted for reachability as server cannot know if they’ll happen as they do not use assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows who inherit the parent/previous workflow’s Build ID but not its Task Queue. In those cases, make sure to query reachability for the parent/previous workflow’s Task Queue as well.
Implementations§
Source§impl TaskQueueVersionInfo
impl TaskQueueVersionInfo
Sourcepub fn task_reachability(&self) -> BuildIdTaskReachability
pub fn task_reachability(&self) -> BuildIdTaskReachability
Returns the enum value of task_reachability, or the default if the field is set to an invalid enum value.
Sourcepub fn set_task_reachability(&mut self, value: BuildIdTaskReachability)
pub fn set_task_reachability(&mut self, value: BuildIdTaskReachability)
Sets task_reachability to the provided enum value.
Trait Implementations§
Source§impl Clone for TaskQueueVersionInfo
impl Clone for TaskQueueVersionInfo
Source§fn clone(&self) -> TaskQueueVersionInfo
fn clone(&self) -> TaskQueueVersionInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TaskQueueVersionInfo
impl Debug for TaskQueueVersionInfo
Source§impl Default for TaskQueueVersionInfo
impl Default for TaskQueueVersionInfo
Source§impl Message for TaskQueueVersionInfo
impl Message for TaskQueueVersionInfo
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 TaskQueueVersionInfo
impl Name for TaskQueueVersionInfo
Source§const NAME: &'static str = "TaskQueueVersionInfo"
const NAME: &'static str = "TaskQueueVersionInfo"
Message.
This name is the same as it appears in the source .proto file, e.g. FooBar.Source§const PACKAGE: &'static str = "temporal.api.taskqueue.v1"
const PACKAGE: &'static str = "temporal.api.taskqueue.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 TaskQueueVersionInfo
impl PartialEq for TaskQueueVersionInfo
impl StructuralPartialEq for TaskQueueVersionInfo
Auto Trait Implementations§
impl Freeze for TaskQueueVersionInfo
impl RefUnwindSafe for TaskQueueVersionInfo
impl Send for TaskQueueVersionInfo
impl Sync for TaskQueueVersionInfo
impl Unpin for TaskQueueVersionInfo
impl UnsafeUnpin for TaskQueueVersionInfo
impl UnwindSafe for TaskQueueVersionInfo
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