Struct google_youtube3::api::VideoRating
source · pub struct VideoRating {
pub rating: Option<String>,
pub video_id: Option<String>,
}
Expand description
Basic details about rating of a video.
This type is not used in any activity, and only used as part of another schema.
Fields§
§rating: Option<String>
Rating of a video.
video_id: Option<String>
The ID that YouTube uses to uniquely identify the video.
Trait Implementations§
source§impl Clone for VideoRating
impl Clone for VideoRating
source§fn clone(&self) -> VideoRating
fn clone(&self) -> VideoRating
Returns a copy 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 VideoRating
impl Debug for VideoRating
source§impl Default for VideoRating
impl Default for VideoRating
source§fn default() -> VideoRating
fn default() -> VideoRating
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VideoRating
impl<'de> Deserialize<'de> for VideoRating
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 Serialize for VideoRating
impl Serialize for VideoRating
impl Part for VideoRating
Auto Trait Implementations§
impl RefUnwindSafe for VideoRating
impl Send for VideoRating
impl Sync for VideoRating
impl Unpin for VideoRating
impl UnwindSafe for VideoRating
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