Enum googapis::google::cloud::dialogflow::cx::v3::streaming_recognition_result::MessageType [−][src]
#[repr(i32)]
pub enum MessageType {
Unspecified,
Transcript,
EndOfSingleUtterance,
}
Expand description
Type of the response message.
Variants
Not specified. Should never be used.
Message contains a (possibly partial) transcript.
Event indicates that the server has detected the end of the user’s speech
utterance and expects no additional speech. Therefore, the server will
not process additional audio (although it may subsequently return
additional results). The client should stop sending additional audio
data, half-close the gRPC connection, and wait for any additional results
until the server closes the gRPC connection. This message is only sent if
[single_utterance
][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance] was set to
true
, and is not used otherwise.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more