Struct gapi_grpc::google::cloud::dialogflow::cx::v3beta1::TestCaseResult[][src]

pub struct TestCaseResult {
    pub name: String,
    pub environment: String,
    pub conversation_turns: Vec<ConversationTurn>,
    pub test_result: i32,
    pub test_time: Option<Timestamp>,
}

Represents a result from running a test case in an agent environment.

Fields

name: String

The resource name for the test case result. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/ <TestCase ID>/results/<TestCaseResult ID>.

environment: String

Environment where the test was run. If not set, it indicates the draft environment.

conversation_turns: Vec<ConversationTurn>

The conversation turns uttered during the test case replay in chronological order.

test_result: i32

Whether the test case passed in the agent environment.

test_time: Option<Timestamp>

The time that the test was run.

Implementations

impl TestCaseResult[src]

pub fn test_result(&self) -> TestResult[src]

Returns the enum value of test_result, or the default if the field is set to an invalid enum value.

pub fn set_test_result(&mut self, value: TestResult)[src]

Sets test_result to the provided enum value.

Trait Implementations

impl Clone for TestCaseResult[src]

impl Debug for TestCaseResult[src]

impl Default for TestCaseResult[src]

impl Message for TestCaseResult[src]

impl PartialEq<TestCaseResult> for TestCaseResult[src]

impl StructuralPartialEq for TestCaseResult[src]

Auto Trait Implementations

impl RefUnwindSafe for TestCaseResult

impl Send for TestCaseResult

impl Sync for TestCaseResult

impl Unpin for TestCaseResult

impl UnwindSafe for TestCaseResult

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]