pub struct ContentMaturityRating {
pub agency: String,
pub rating: Option<String>,
pub audience: Option<AudienceElement>,
}Expand description
A single content maturity rating entry per ST 2067-3 / ST 2067-21 §5.1.3.
Fields§
§agency: String§rating: Option<String>§audience: Option<AudienceElement>Trait Implementations§
Source§impl Clone for ContentMaturityRating
impl Clone for ContentMaturityRating
Source§fn clone(&self) -> ContentMaturityRating
fn clone(&self) -> ContentMaturityRating
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 ContentMaturityRating
impl Debug for ContentMaturityRating
Source§impl<'de> Deserialize<'de> for ContentMaturityRating
impl<'de> Deserialize<'de> for ContentMaturityRating
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContentMaturityRating
impl PartialEq for ContentMaturityRating
Source§fn eq(&self, other: &ContentMaturityRating) -> bool
fn eq(&self, other: &ContentMaturityRating) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContentMaturityRating
impl Serialize for ContentMaturityRating
impl StructuralPartialEq for ContentMaturityRating
Auto Trait Implementations§
impl Freeze for ContentMaturityRating
impl RefUnwindSafe for ContentMaturityRating
impl Send for ContentMaturityRating
impl Sync for ContentMaturityRating
impl Unpin for ContentMaturityRating
impl UnsafeUnpin for ContentMaturityRating
impl UnwindSafe for ContentMaturityRating
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