#[non_exhaustive]pub struct BaseCandidate {
pub chain: Vec<String>,
pub service_location: Option<String>,
pub priority: u32,
pub availability_time_offset_s: f64,
}Expand description
One way of reaching the content: a chain of BaseURL texts, one per
level that declared any, outermost first.
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.chain: Vec<String>The BaseURL texts, outermost first.
service_location: Option<String>@serviceLocation of the innermost entry.
priority: u32@dvb:priority of the innermost entry (default 1).
availability_time_offset_s: f64Sum of @availabilityTimeOffset over the chain, seconds.
Implementations§
Trait Implementations§
Source§impl Clone for BaseCandidate
impl Clone for BaseCandidate
Source§impl Debug for BaseCandidate
impl Debug for BaseCandidate
Source§impl PartialEq for BaseCandidate
impl PartialEq for BaseCandidate
impl StructuralPartialEq for BaseCandidate
Auto Trait Implementations§
impl Freeze for BaseCandidate
impl RefUnwindSafe for BaseCandidate
impl Send for BaseCandidate
impl Sync for BaseCandidate
impl Unpin for BaseCandidate
impl UnsafeUnpin for BaseCandidate
impl UnwindSafe for BaseCandidate
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