Struct aws_sdk_textract::types::Prediction
source · #[non_exhaustive]pub struct Prediction {
pub value: Option<String>,
pub confidence: Option<f32>,
}
Expand description
Contains information regarding predicted values returned by Amazon Textract operations, including the predicted value and the confidence in the predicted value.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.value: Option<String>
The predicted value of a detected object.
confidence: Option<f32>
Amazon Textract's confidence in its predicted value.
Implementations§
source§impl Prediction
impl Prediction
source§impl Prediction
impl Prediction
sourcepub fn builder() -> PredictionBuilder
pub fn builder() -> PredictionBuilder
Creates a new builder-style object to manufacture Prediction
.
Trait Implementations§
source§impl Clone for Prediction
impl Clone for Prediction
source§fn clone(&self) -> Prediction
fn clone(&self) -> Prediction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Prediction
impl Debug for Prediction
source§impl PartialEq for Prediction
impl PartialEq for Prediction
source§fn eq(&self, other: &Prediction) -> bool
fn eq(&self, other: &Prediction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Prediction
Auto Trait Implementations§
impl RefUnwindSafe for Prediction
impl Send for Prediction
impl Sync for Prediction
impl Unpin for Prediction
impl UnwindSafe for Prediction
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
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.