Struct rusoto_rekognition::ModerationLabel
[−]
[src]
pub struct ModerationLabel { pub confidence: Option<f32>, pub name: Option<String>, pub parent_name: Option<String>, }
Provides information about a single type of moderated content found in an image. Each type of moderated content has a label within a hierarchical taxonomy. For more information, see image-moderation.
Fields
confidence: Option<f32>
Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.
If you don't specify the MinConfidence
parameter in the call to DetectModerationLabels
, the operation returns labels with a confidence value greater than or equal to 50 percent.
name: Option<String>
The label name for the type of content detected in the image.
parent_name: Option<String>
The name for the parent label. Labels at the top-level of the hierarchy have the parent label ""
.
Trait Implementations
impl Default for ModerationLabel
[src]
fn default() -> ModerationLabel
[src]
Returns the "default value" for a type. Read more
impl Debug for ModerationLabel
[src]
impl Clone for ModerationLabel
[src]
fn clone(&self) -> ModerationLabel
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more