pub struct ServiceKey {
pub original_network_id: u16,
pub transport_stream_id: u16,
pub service_id: u16,
}Expand description
Logical key identifying a service across the DVB network.
Fields§
§original_network_id: u16original_network_id from the EIT/SDT.
transport_stream_id: u16transport_stream_id from the EIT/SDT.
service_id: u16service_id.
Trait Implementations§
Source§impl Clone for ServiceKey
impl Clone for ServiceKey
Source§fn clone(&self) -> ServiceKey
fn clone(&self) -> ServiceKey
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 moreimpl Copy for ServiceKey
Source§impl Debug for ServiceKey
impl Debug for ServiceKey
impl Eq for ServiceKey
Source§impl Hash for ServiceKey
impl Hash for ServiceKey
Source§impl Ord for ServiceKey
impl Ord for ServiceKey
Source§fn cmp(&self, other: &ServiceKey) -> Ordering
fn cmp(&self, other: &ServiceKey) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ServiceKey
impl PartialEq for ServiceKey
Source§fn eq(&self, other: &ServiceKey) -> bool
fn eq(&self, other: &ServiceKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ServiceKey
impl PartialOrd for ServiceKey
Source§impl Serialize for ServiceKey
impl Serialize for ServiceKey
impl StructuralPartialEq for ServiceKey
Auto Trait Implementations§
impl Freeze for ServiceKey
impl RefUnwindSafe for ServiceKey
impl Send for ServiceKey
impl Sync for ServiceKey
impl Unpin for ServiceKey
impl UnsafeUnpin for ServiceKey
impl UnwindSafe for ServiceKey
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