Struct google_api_proto::google::cloud::dialogflow::cx::v3::conversation_turn::VirtualAgentOutput
source · pub struct VirtualAgentOutput {
pub session_parameters: Option<Struct>,
pub differences: Vec<TestRunDifference>,
pub diagnostic_info: Option<Struct>,
pub triggered_intent: Option<Intent>,
pub current_page: Option<Page>,
pub text_responses: Vec<Text>,
pub status: Option<Status>,
}
Expand description
The output from the virtual agent.
Fields§
§session_parameters: Option<Struct>
The session parameters available to the bot at this point.
differences: Vec<TestRunDifference>
Output only. If this is part of a [result conversation turn][TestCaseResult.conversation_turns], the list of differences between the original run and the replay for this output, if any.
diagnostic_info: Option<Struct>
Required. Input only. The diagnostic [info][Session.DetectIntentResponse.QueryResult.diagnostic_info] output for the turn. Required to calculate the testing coverage.
triggered_intent: Option<Intent>
The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response. Only name and displayName will be set.
current_page: Option<Page>
The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken. Only name and displayName will be set.
text_responses: Vec<Text>
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.
status: Option<Status>
Response error from the agent in the test result. If set, other output is empty.
Trait Implementations§
source§impl Clone for VirtualAgentOutput
impl Clone for VirtualAgentOutput
source§fn clone(&self) -> VirtualAgentOutput
fn clone(&self) -> VirtualAgentOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VirtualAgentOutput
impl Debug for VirtualAgentOutput
source§impl Default for VirtualAgentOutput
impl Default for VirtualAgentOutput
source§impl Message for VirtualAgentOutput
impl Message for VirtualAgentOutput
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 VirtualAgentOutput
impl PartialEq for VirtualAgentOutput
source§fn eq(&self, other: &VirtualAgentOutput) -> bool
fn eq(&self, other: &VirtualAgentOutput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VirtualAgentOutput
Auto Trait Implementations§
impl Freeze for VirtualAgentOutput
impl RefUnwindSafe for VirtualAgentOutput
impl Send for VirtualAgentOutput
impl Sync for VirtualAgentOutput
impl Unpin for VirtualAgentOutput
impl UnwindSafe for VirtualAgentOutput
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