pub struct BaseURL {
pub base: String,
pub serviceLocation: Option<String>,
pub priority: i64,
}
Expand description
A URI string that specifies one or more common locations for Segments and other resources, used as a prefix for SegmentURLs. Can be specified at the level of the MPD node, or Period, AdaptationSet, Representation, and can be nested (the client should combine the prefix on MPD and on Representation, for example).
Fields§
§base: String
§serviceLocation: Option<String>
Elements with the same @serviceLocation
value are likely to have their URLs resolve to
services at a common network location, for example the same CDN.
priority: i64
Trait Implementations§
source§impl<'de> Deserialize<'de> for BaseURLwhere
BaseURL: Default,
impl<'de> Deserialize<'de> for BaseURLwhere BaseURL: 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