pub struct SubtitleStream {
pub bit_rate: Option<i64>,
pub width: Option<i64>,
pub height: Option<i64>,
pub codec_long_name: String,
pub codec_name: String,
pub duration_ts: Option<u64>,
pub tags: Option<SubtititleTags>,
}Expand description
Stream of type subtitle
Fields§
§bit_rate: Option<i64>Bit rate of the video stream. The bit_rate represents the number of bits that are processed per unit of time in the video stream. It is a measure of the video stream’s data rate, indicating how much data is encoded for each second of video.
width: Option<i64>width of video
height: Option<i64>height of video
codec_long_name: StringLong name of the codec used for the video stream.
codec_name: StringShort name of the codec used for the video stream. Example: h264
duration_ts: Option<u64>Duration of the video stream in timestamp units.
Metadata tags associated with the video stream.
Trait Implementations§
Source§impl Clone for SubtitleStream
impl Clone for SubtitleStream
Source§fn clone(&self) -> SubtitleStream
fn clone(&self) -> SubtitleStream
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 SubtitleStream
impl Debug for SubtitleStream
Source§impl<'de> Deserialize<'de> for SubtitleStream
impl<'de> Deserialize<'de> for SubtitleStream
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 SubtitleStream
impl PartialEq for SubtitleStream
Source§impl Serialize for SubtitleStream
impl Serialize for SubtitleStream
impl Eq for SubtitleStream
impl StructuralPartialEq for SubtitleStream
Auto Trait Implementations§
impl Freeze for SubtitleStream
impl RefUnwindSafe for SubtitleStream
impl Send for SubtitleStream
impl Sync for SubtitleStream
impl Unpin for SubtitleStream
impl UnwindSafe for SubtitleStream
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