#[non_exhaustive]pub struct PatchLocation {
pub url: String,
pub service_location: Option<String>,
pub ttl: Option<f64>,
}Expand description
A PatchLocation (ISO/IEC 23009-1 clause 5.15, Table 41): where an MPD
patch is fetched.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.url: StringThe element text (the patch URL).
service_location: Option<String>@serviceLocation.
ttl: Option<f64>@ttl, seconds the patch location stays valid.
Trait Implementations§
Source§impl Clone for PatchLocation
impl Clone for PatchLocation
Source§fn clone(&self) -> PatchLocation
fn clone(&self) -> PatchLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PatchLocation
impl Debug for PatchLocation
Source§impl Default for PatchLocation
impl Default for PatchLocation
Source§fn default() -> PatchLocation
fn default() -> PatchLocation
Returns the “default value” for a type. Read more
Source§impl PartialEq for PatchLocation
impl PartialEq for PatchLocation
impl StructuralPartialEq for PatchLocation
Auto Trait Implementations§
impl Forget for PatchLocation
impl Freeze for PatchLocation
impl Move for PatchLocation
impl RefUnwindSafe for PatchLocation
impl Send for PatchLocation
impl Sync for PatchLocation
impl Unpin for PatchLocation
impl UnsafeUnpin for PatchLocation
impl UnwindSafe for PatchLocation
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