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
sourceimpl Clone for SegmentURL
impl Clone for SegmentURL
sourcefn clone(&self) -> SegmentURL
fn clone(&self) -> SegmentURL
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SegmentURL
impl Debug for SegmentURL
sourceimpl Default for SegmentURL
impl Default for SegmentURL
sourcefn default() -> SegmentURL
fn default() -> SegmentURL
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SegmentURLwhere
SegmentURL: Default,
impl<'de> Deserialize<'de> for SegmentURLwhere
SegmentURL: Default,
sourcefn 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
sourceimpl Serialize for SegmentURL
impl Serialize for SegmentURL
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more