pub struct UploadVideoInput {
pub file_path: Option<String>,
pub url: Option<String>,
pub name: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
}Expand description
Input for uploading a video asset.
Fields§
§file_path: Option<String>Local file path to the video.
url: Option<String>Remote URL of the video to import.
name: Option<String>Optional display name for the asset.
title: Option<String>Video title shown in the player.
description: Option<String>Video description.
Trait Implementations§
Source§impl Clone for UploadVideoInput
impl Clone for UploadVideoInput
Source§fn clone(&self) -> UploadVideoInput
fn clone(&self) -> UploadVideoInput
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 UploadVideoInput
impl Debug for UploadVideoInput
Source§impl Default for UploadVideoInput
impl Default for UploadVideoInput
Source§fn default() -> UploadVideoInput
fn default() -> UploadVideoInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UploadVideoInput
impl<'de> Deserialize<'de> for UploadVideoInput
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
Auto Trait Implementations§
impl Freeze for UploadVideoInput
impl RefUnwindSafe for UploadVideoInput
impl Send for UploadVideoInput
impl Sync for UploadVideoInput
impl Unpin for UploadVideoInput
impl UnsafeUnpin for UploadVideoInput
impl UnwindSafe for UploadVideoInput
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