pub struct ContentRating {
pub country: String,
pub tags: Vec<String>,
}Fields§
§country: StringTrait Implementations§
Source§impl Clone for ContentRating
impl Clone for ContentRating
Source§fn clone(&self) -> ContentRating
fn clone(&self) -> ContentRating
Returns a duplicate of the value. Read more
1.0.0 · 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 ContentRating
impl Debug for ContentRating
Source§impl From<&ContentRating> for ContentRating
impl From<&ContentRating> for ContentRating
Source§fn from(content_rating: &ContentRatingMessage) -> Self
fn from(content_rating: &ContentRatingMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContentRating
impl RefUnwindSafe for ContentRating
impl Send for ContentRating
impl Sync for ContentRating
impl Unpin for ContentRating
impl UnwindSafe for ContentRating
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