#[non_exhaustive]pub struct ExplicitContentAnnotation {
pub frames: Vec<ExplicitContentFrame>,
pub version: String,
/* private fields */
}Expand description
Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.frames: Vec<ExplicitContentFrame>All video frames where explicit content was detected.
version: StringFeature version.
Implementations§
Source§impl ExplicitContentAnnotation
impl ExplicitContentAnnotation
Sourcepub fn set_frames<T, V>(self, v: T) -> Self
pub fn set_frames<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ExplicitContentAnnotation
impl Clone for ExplicitContentAnnotation
Source§fn clone(&self) -> ExplicitContentAnnotation
fn clone(&self) -> ExplicitContentAnnotation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExplicitContentAnnotation
impl Debug for ExplicitContentAnnotation
Source§impl Default for ExplicitContentAnnotation
impl Default for ExplicitContentAnnotation
Source§fn default() -> ExplicitContentAnnotation
fn default() -> ExplicitContentAnnotation
Returns the “default value” for a type. Read more
Source§impl Message for ExplicitContentAnnotation
impl Message for ExplicitContentAnnotation
Source§impl PartialEq for ExplicitContentAnnotation
impl PartialEq for ExplicitContentAnnotation
Source§fn eq(&self, other: &ExplicitContentAnnotation) -> bool
fn eq(&self, other: &ExplicitContentAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExplicitContentAnnotation
Auto Trait Implementations§
impl Freeze for ExplicitContentAnnotation
impl RefUnwindSafe for ExplicitContentAnnotation
impl Send for ExplicitContentAnnotation
impl Sync for ExplicitContentAnnotation
impl Unpin for ExplicitContentAnnotation
impl UnsafeUnpin for ExplicitContentAnnotation
impl UnwindSafe for ExplicitContentAnnotation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more