Struct aws_sdk_rekognition::operation::detect_moderation_labels::DetectModerationLabelsOutput
source · #[non_exhaustive]pub struct DetectModerationLabelsOutput {
pub moderation_labels: Option<Vec<ModerationLabel>>,
pub moderation_model_version: Option<String>,
pub human_loop_activation_output: Option<HumanLoopActivationOutput>,
pub project_version: Option<String>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.moderation_labels: Option<Vec<ModerationLabel>>Array of detected Moderation labels and the time, in milliseconds from the start of the video, they were detected.
moderation_model_version: Option<String>Version number of the base moderation detection model that was used to detect unsafe content.
human_loop_activation_output: Option<HumanLoopActivationOutput>Shows the results of the human in the loop evaluation.
project_version: Option<String>Identifier of the custom adapter that was used during inference. If during inference the adapter was EXPIRED, then the parameter will not be returned, indicating that a base moderation detection project version was used.
Implementations§
source§impl DetectModerationLabelsOutput
impl DetectModerationLabelsOutput
sourcepub fn moderation_labels(&self) -> &[ModerationLabel]
pub fn moderation_labels(&self) -> &[ModerationLabel]
Array of detected Moderation labels and the time, in milliseconds from the start of the video, they were detected.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .moderation_labels.is_none().
sourcepub fn moderation_model_version(&self) -> Option<&str>
pub fn moderation_model_version(&self) -> Option<&str>
Version number of the base moderation detection model that was used to detect unsafe content.
sourcepub fn human_loop_activation_output(&self) -> Option<&HumanLoopActivationOutput>
pub fn human_loop_activation_output(&self) -> Option<&HumanLoopActivationOutput>
Shows the results of the human in the loop evaluation.
sourcepub fn project_version(&self) -> Option<&str>
pub fn project_version(&self) -> Option<&str>
Identifier of the custom adapter that was used during inference. If during inference the adapter was EXPIRED, then the parameter will not be returned, indicating that a base moderation detection project version was used.
source§impl DetectModerationLabelsOutput
impl DetectModerationLabelsOutput
sourcepub fn builder() -> DetectModerationLabelsOutputBuilder
pub fn builder() -> DetectModerationLabelsOutputBuilder
Creates a new builder-style object to manufacture DetectModerationLabelsOutput.
Trait Implementations§
source§impl Clone for DetectModerationLabelsOutput
impl Clone for DetectModerationLabelsOutput
source§fn clone(&self) -> DetectModerationLabelsOutput
fn clone(&self) -> DetectModerationLabelsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DetectModerationLabelsOutput
impl Debug for DetectModerationLabelsOutput
source§impl PartialEq for DetectModerationLabelsOutput
impl PartialEq for DetectModerationLabelsOutput
source§fn eq(&self, other: &DetectModerationLabelsOutput) -> bool
fn eq(&self, other: &DetectModerationLabelsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DetectModerationLabelsOutput
impl RequestId for DetectModerationLabelsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.