pub struct DataStream {
pub duration_ts: u64,
pub tags: DataTags,
pub codec_long_name: Option<String>,
pub codec_name: Option<String>,
}Expand description
Stream of type data
Fields§
§duration_ts: u64Duration of the video stream in timestamp units.
Metadata tags associated with the video stream.
codec_long_name: Option<String>Long name of the codec used for the video stream. eg. binary data
codec_name: Option<String>Short name of the codec used for the video stream. Example: bin_data
Trait Implementations§
Source§impl Clone for DataStream
impl Clone for DataStream
Source§fn clone(&self) -> DataStream
fn clone(&self) -> DataStream
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 DataStream
impl Debug for DataStream
Source§impl<'de> Deserialize<'de> for DataStream
impl<'de> Deserialize<'de> for DataStream
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 PartialEq for DataStream
impl PartialEq for DataStream
Source§impl Serialize for DataStream
impl Serialize for DataStream
impl Eq for DataStream
impl StructuralPartialEq for DataStream
Auto Trait Implementations§
impl Freeze for DataStream
impl RefUnwindSafe for DataStream
impl Send for DataStream
impl Sync for DataStream
impl Unpin for DataStream
impl UnsafeUnpin for DataStream
impl UnwindSafe for DataStream
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