pub struct CalculateStatsResponse {
pub average_duration: Option<Duration>,
pub average_turn_count: i32,
pub conversation_count: i32,
pub smart_highlighter_matches: BTreeMap<String, i32>,
pub custom_highlighter_matches: BTreeMap<String, i32>,
pub issue_matches: BTreeMap<String, i32>,
pub issue_matches_stats: BTreeMap<String, IssueStats>,
pub conversation_count_time_series: Option<TimeSeries>,
}
Expand description
The response for calculating conversation statistics.
Fields§
§average_duration: Option<Duration>
The average duration of all conversations. The average is calculated using only conversations that have a time duration.
average_turn_count: i32
The average number of turns per conversation.
conversation_count: i32
The total number of conversations.
smart_highlighter_matches: BTreeMap<String, i32>
A map associating each smart highlighter display name with its respective number of matches in the set of conversations.
custom_highlighter_matches: BTreeMap<String, i32>
A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.
issue_matches: BTreeMap<String, i32>
A map associating each issue resource name with its respective number of
matches in the set of conversations. Key has the format:
projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>
Deprecated, use issue_matches_stats
field instead.
issue_matches_stats: BTreeMap<String, IssueStats>
A map associating each issue resource name with its respective number of
matches in the set of conversations. Key has the format:
projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>
conversation_count_time_series: Option<TimeSeries>
A time series representing the count of conversations created over time that match that requested filter criteria.
Trait Implementations§
source§impl Clone for CalculateStatsResponse
impl Clone for CalculateStatsResponse
source§fn clone(&self) -> CalculateStatsResponse
fn clone(&self) -> CalculateStatsResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CalculateStatsResponse
impl Debug for CalculateStatsResponse
source§impl Default for CalculateStatsResponse
impl Default for CalculateStatsResponse
source§impl Message for CalculateStatsResponse
impl Message for CalculateStatsResponse
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 PartialEq for CalculateStatsResponse
impl PartialEq for CalculateStatsResponse
source§fn eq(&self, other: &CalculateStatsResponse) -> bool
fn eq(&self, other: &CalculateStatsResponse) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CalculateStatsResponse
Auto Trait Implementations§
impl Freeze for CalculateStatsResponse
impl RefUnwindSafe for CalculateStatsResponse
impl Send for CalculateStatsResponse
impl Sync for CalculateStatsResponse
impl Unpin for CalculateStatsResponse
impl UnwindSafe for CalculateStatsResponse
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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