Struct rusoto_rekognition::Label [−][src]
pub struct Label { pub confidence: Option<f32>, pub instances: Option<Vec<Instance>>, pub name: Option<String>, pub parents: Option<Vec<Parent>>, }
Expand description
Structure containing details about the detected label, including the name, detected instances, parent labels, and level of confidence.
Fields
confidence: Option<f32>
Level of confidence.
instances: Option<Vec<Instance>>
If Label
represents an object, Instances
contains the bounding boxes for each instance of the detected object. Bounding boxes are returned for common object labels such as people, cars, furniture, apparel or pets.
name: Option<String>
The name (label) of the object or scene.
parents: Option<Vec<Parent>>
The parent labels for a label. The response includes all ancestor labels.
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 Label
impl UnwindSafe for Label
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