Struct gapi_grpc::google::cloud::contactcenterinsights::v1::conversation::transcript::TranscriptSegment[][src]

pub struct TranscriptSegment {
    pub text: String,
    pub confidence: f32,
    pub words: Vec<WordInfo>,
    pub language_code: String,
    pub channel_tag: i32,
    pub participant: Option<Participant>,
}

A segment of a full transcript.

Fields

text: String

The text of this segment.

confidence: f32

A confidence estimate between 0.0 and 1.0 of the fidelity of this segment. A default value of 0.0 indicates that the value is unset.

words: Vec<WordInfo>

A list of the word-specific information for each word in the segment.

language_code: String

The language code of this segment as a BCP-47 language tag. Example: “en-US”.

channel_tag: i32

For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel. For audioChannelCount = N, its output values can range from ‘1’ to ‘N’. A channel tag of 0 indicates that the audio is mono.

participant: Option<Participant>

The participant of this segment.

Trait Implementations

impl Clone for TranscriptSegment[src]

impl Debug for TranscriptSegment[src]

impl Default for TranscriptSegment[src]

impl Message for TranscriptSegment[src]

impl PartialEq<TranscriptSegment> for TranscriptSegment[src]

impl StructuralPartialEq for TranscriptSegment[src]

Auto Trait Implementations

impl RefUnwindSafe for TranscriptSegment

impl Send for TranscriptSegment

impl Sync for TranscriptSegment

impl Unpin for TranscriptSegment

impl UnwindSafe for TranscriptSegment

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]