Struct gapi_grpc::google::cloud::aiplatform::v1beta1::schema::predict::prediction::TextExtractionPredictionResult[][src]

pub struct TextExtractionPredictionResult {
    pub ids: Vec<i64>,
    pub display_names: Vec<String>,
    pub text_segment_start_offsets: Vec<i64>,
    pub text_segment_end_offsets: Vec<i64>,
    pub confidences: Vec<f32>,
}

Prediction output format for Text Extraction.

Fields

ids: Vec<i64>

The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.

display_names: Vec<String>

The display names of the AnnotationSpecs that had been identified, order matches the IDs.

text_segment_start_offsets: Vec<i64>

The start offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.

text_segment_end_offsets: Vec<i64>

The end offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.

confidences: Vec<f32>

The Model’s confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.

Trait Implementations

impl Clone for TextExtractionPredictionResult[src]

impl Debug for TextExtractionPredictionResult[src]

impl Default for TextExtractionPredictionResult[src]

impl Message for TextExtractionPredictionResult[src]

impl PartialEq<TextExtractionPredictionResult> for TextExtractionPredictionResult[src]

impl StructuralPartialEq for TextExtractionPredictionResult[src]

Auto Trait Implementations

impl RefUnwindSafe for TextExtractionPredictionResult

impl Send for TextExtractionPredictionResult

impl Sync for TextExtractionPredictionResult

impl Unpin for TextExtractionPredictionResult

impl UnwindSafe for TextExtractionPredictionResult

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]