pub struct ServiceReference {
pub original_network_id: u16,
pub service_id: u16,
}Expand description
A service reference — the {OriginalNetworkID, ServiceID} pair (Figure 12).
Fields§
§original_network_id: u16OriginalNetworkID (16-bit, allocated within ETR 162).
service_id: u16ServiceID (16-bit, unique within the original network).
Trait Implementations§
Source§impl Clone for ServiceReference
impl Clone for ServiceReference
Source§fn clone(&self) -> ServiceReference
fn clone(&self) -> ServiceReference
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 ServiceReference
Source§impl Debug for ServiceReference
impl Debug for ServiceReference
Source§impl Default for ServiceReference
impl Default for ServiceReference
Source§fn default() -> ServiceReference
fn default() -> ServiceReference
Returns the “default value” for a type. Read more
impl Eq for ServiceReference
Source§impl PartialEq for ServiceReference
impl PartialEq for ServiceReference
Source§fn eq(&self, other: &ServiceReference) -> bool
fn eq(&self, other: &ServiceReference) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ServiceReference
impl Serialize for ServiceReference
impl StructuralPartialEq for ServiceReference
Auto Trait Implementations§
impl Freeze for ServiceReference
impl RefUnwindSafe for ServiceReference
impl Send for ServiceReference
impl Sync for ServiceReference
impl Unpin for ServiceReference
impl UnsafeUnpin for ServiceReference
impl UnwindSafe for ServiceReference
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