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
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]
impl Default for ModerationLabel
fn default() -> ModerationLabel
[src]
fn default() -> ModerationLabel
Returns the "default value" for a type. Read more
impl Debug for ModerationLabel
[src]
impl Debug for ModerationLabel
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ModerationLabel
[src]
impl Clone for ModerationLabel
fn clone(&self) -> ModerationLabel
[src]
fn clone(&self) -> ModerationLabel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for ModerationLabel
[src]
impl PartialEq for ModerationLabel
fn eq(&self, other: &ModerationLabel) -> bool
[src]
fn eq(&self, other: &ModerationLabel) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ModerationLabel) -> bool
[src]
fn ne(&self, other: &ModerationLabel) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ModerationLabel
impl Send for ModerationLabel
impl Sync for ModerationLabel
impl Sync for ModerationLabel