pub struct StreamingData {
pub expires_in_seconds: String,
pub formats: Vec<StreamingFormat>,
pub adaptive_formats: Vec<StreamingFormat>,
pub server_abr_streaming_url: Option<String>,
}
Expand description
Represents all available streaming data for a YouTube video
Fields§
§expires_in_seconds: String
Time in seconds until the streaming URLs expire
formats: Vec<StreamingFormat>
Combined formats with both audio and video
adaptive_formats: Vec<StreamingFormat>
Separate adaptive formats for audio or video
server_abr_streaming_url: Option<String>
Server ABR streaming URL
Trait Implementations§
Source§impl Clone for StreamingData
impl Clone for StreamingData
Source§fn clone(&self) -> StreamingData
fn clone(&self) -> StreamingData
Returns a copy 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 StreamingData
impl Debug for StreamingData
Source§impl<'de> Deserialize<'de> for StreamingData
impl<'de> Deserialize<'de> for StreamingData
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 StreamingData
impl RefUnwindSafe for StreamingData
impl Send for StreamingData
impl Sync for StreamingData
impl Unpin for StreamingData
impl UnwindSafe for StreamingData
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