pub struct VideoPayload {
pub payload_type: String,
pub data_base64: String,
pub mime_type: String,
pub width: Option<u32>,
pub height: Option<u32>,
pub duration_seconds: Option<f64>,
pub fps: Option<f64>,
pub source_model: Option<String>,
pub description: Option<String>,
}Expand description
Video data payload.
Fields§
§payload_type: String§data_base64: String§mime_type: String§width: Option<u32>§height: Option<u32>§duration_seconds: Option<f64>§fps: Option<f64>§source_model: Option<String>§description: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for VideoPayload
impl Clone for VideoPayload
Source§fn clone(&self) -> VideoPayload
fn clone(&self) -> VideoPayload
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 VideoPayload
impl Debug for VideoPayload
Source§impl<'de> Deserialize<'de> for VideoPayload
impl<'de> Deserialize<'de> for VideoPayload
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<VideoPayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VideoPayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for VideoPayload
impl Serialize for VideoPayload
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for VideoPayload
impl RefUnwindSafe for VideoPayload
impl Send for VideoPayload
impl Sync for VideoPayload
impl Unpin for VideoPayload
impl UnsafeUnpin for VideoPayload
impl UnwindSafe for VideoPayload
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