pub struct VideoTrainability {
pub etag: Option<String>,
pub kind: Option<String>,
pub permitted: Option<Vec<String>>,
pub video_id: Option<String>,
}Expand description
Specifies who is allowed to train on the video.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- get video trainability (response)
Fields§
§etag: Option<String>Etag of this resource.
kind: Option<String>Identifies what kind of resource this is. Value: the fixed string “youtube#videoTrainability”.
permitted: Option<Vec<String>>Specifies who is allowed to train on the video. Valid values are: - a single string “all” - a single string “none” - a list of allowed parties
video_id: Option<String>The ID of the video.
Trait Implementations§
Source§impl Clone for VideoTrainability
impl Clone for VideoTrainability
Source§fn clone(&self) -> VideoTrainability
fn clone(&self) -> VideoTrainability
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 VideoTrainability
impl Debug for VideoTrainability
Source§impl Default for VideoTrainability
impl Default for VideoTrainability
Source§fn default() -> VideoTrainability
fn default() -> VideoTrainability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VideoTrainability
impl<'de> Deserialize<'de> for VideoTrainability
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 VideoTrainability
impl Serialize for VideoTrainability
impl ResponseResult for VideoTrainability
Auto Trait Implementations§
impl Freeze for VideoTrainability
impl RefUnwindSafe for VideoTrainability
impl Send for VideoTrainability
impl Sync for VideoTrainability
impl Unpin for VideoTrainability
impl UnwindSafe for VideoTrainability
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