pub struct ActivityExecutionCountAggregationGroup { /* private fields */ }Expand description
Aggregation group from an activity count query with a group-by clause.
Implementations§
Source§impl ActivityExecutionCountAggregationGroup
impl ActivityExecutionCountAggregationGroup
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 ActivityExecutionCountAggregationGroup
impl Clone for ActivityExecutionCountAggregationGroup
Source§fn clone(&self) -> ActivityExecutionCountAggregationGroup
fn clone(&self) -> ActivityExecutionCountAggregationGroup
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 ActivityExecutionCountAggregationGroup
impl RefUnwindSafe for ActivityExecutionCountAggregationGroup
impl Send for ActivityExecutionCountAggregationGroup
impl Sync for ActivityExecutionCountAggregationGroup
impl Unpin for ActivityExecutionCountAggregationGroup
impl UnsafeUnpin for ActivityExecutionCountAggregationGroup
impl UnwindSafe for ActivityExecutionCountAggregationGroup
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