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 or video. Each type of moderated content has a label within a hierarchical taxonomy. For more information, see moderation.

Fields

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.

The label name for the type of content detected in the image.

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]

Returns the "default value" for a type. Read more

impl Debug for ModerationLabel
[src]

Formats the value using the given formatter. Read more

impl Clone for ModerationLabel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ModerationLabel
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations