Struct rusoto_rekognition::Instance [−][src]
pub struct Instance { pub bounding_box: Option<BoundingBox>, pub confidence: Option<f32>, }
Expand description
An instance of a label returned by Amazon Rekognition Image (DetectLabels) or by Amazon Rekognition Video (GetLabelDetection).
Fields
bounding_box: Option<BoundingBox>
The position of the label instance on the image.
confidence: Option<f32>
The confidence that Amazon Rekognition has in the accuracy of the bounding box.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Instance
impl UnwindSafe for Instance
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self