pub struct WorkflowCountAggregationGroup { /* private fields */ }Expand description
Aggregation group from a workflow count query with a group-by clause.
Implementations§
Source§impl WorkflowCountAggregationGroup
impl WorkflowCountAggregationGroup
Sourcepub fn get<T: SearchAttributeValue>(&self, index: usize) -> Option<T>
pub fn get<T: SearchAttributeValue>(&self, index: usize) -> Option<T>
Retrieve a typed group value at index.
Returns None if the index is out of bounds or deserialization fails.
Use Self::try_get for explicit error handling.
Sourcepub fn try_get<T: SearchAttributeValue>(
&self,
index: usize,
) -> Result<Option<T>, SearchAttributeError>
pub fn try_get<T: SearchAttributeValue>( &self, index: usize, ) -> Result<Option<T>, SearchAttributeError>
Retrieve a typed group value at index, preserving deserialization
errors.
Returns Ok(None) if the index is out of bounds and Err if the
payload cannot be deserialized.
Trait Implementations§
Source§impl Clone for WorkflowCountAggregationGroup
impl Clone for WorkflowCountAggregationGroup
Source§fn clone(&self) -> WorkflowCountAggregationGroup
fn clone(&self) -> WorkflowCountAggregationGroup
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 Freeze for WorkflowCountAggregationGroup
impl RefUnwindSafe for WorkflowCountAggregationGroup
impl Send for WorkflowCountAggregationGroup
impl Sync for WorkflowCountAggregationGroup
impl Unpin for WorkflowCountAggregationGroup
impl UnsafeUnpin for WorkflowCountAggregationGroup
impl UnwindSafe for WorkflowCountAggregationGroup
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