Struct dash_mpd::SegmentURL
source · pub struct SegmentURL {
pub media: Option<String>,
pub mediaRange: Option<String>,
pub index: Option<String>,
pub indexRange: Option<String>,
}
Expand description
The URL of a media segment.
Fields§
§media: Option<String>
§mediaRange: Option<String>
§index: Option<String>
§indexRange: Option<String>
Trait Implementations§
source§impl Clone for SegmentURL
impl Clone for SegmentURL
source§fn clone(&self) -> SegmentURL
fn clone(&self) -> SegmentURL
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 SegmentURL
impl Debug for SegmentURL
source§impl Default for SegmentURL
impl Default for SegmentURL
source§fn default() -> SegmentURL
fn default() -> SegmentURL
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SegmentURLwhere
SegmentURL: Default,
impl<'de> Deserialize<'de> for SegmentURLwhere SegmentURL: Default,
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 RefUnwindSafe for SegmentURL
impl Send for SegmentURL
impl Sync for SegmentURL
impl Unpin for SegmentURL
impl UnwindSafe for SegmentURL
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