pub struct PortDescription<'a> {
pub in_port_id: u8,
pub in_port_desc: &'a [u8],
pub out_port_id: u8,
pub out_port_desc: &'a [u8],
}Expand description
One input or output port description within a PortProfile (Table 48).
Fields§
§in_port_id: u8in_port_id (Table 44).
in_port_desc: &'a [u8]in_port_desc — string describing the input port (DVB SI Annex A coding).
out_port_id: u8out_port_id (Table 46).
out_port_desc: &'a [u8]out_signal_desc — string describing the output port (DVB SI Annex A).
Trait Implementations§
Source§impl<'a> Clone for PortDescription<'a>
impl<'a> Clone for PortDescription<'a>
Source§fn clone(&self) -> PortDescription<'a>
fn clone(&self) -> PortDescription<'a>
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<'a> Debug for PortDescription<'a>
impl<'a> Debug for PortDescription<'a>
Source§impl<'a> Default for PortDescription<'a>
impl<'a> Default for PortDescription<'a>
Source§fn default() -> PortDescription<'a>
fn default() -> PortDescription<'a>
Returns the “default value” for a type. Read more
impl<'a> Eq for PortDescription<'a>
Source§impl<'a> PartialEq for PortDescription<'a>
impl<'a> PartialEq for PortDescription<'a>
Source§fn eq(&self, other: &PortDescription<'a>) -> bool
fn eq(&self, other: &PortDescription<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for PortDescription<'a>
impl<'a> Serialize for PortDescription<'a>
impl<'a> StructuralPartialEq for PortDescription<'a>
Auto Trait Implementations§
impl<'a> Freeze for PortDescription<'a>
impl<'a> RefUnwindSafe for PortDescription<'a>
impl<'a> Send for PortDescription<'a>
impl<'a> Sync for PortDescription<'a>
impl<'a> Unpin for PortDescription<'a>
impl<'a> UnsafeUnpin for PortDescription<'a>
impl<'a> UnwindSafe for PortDescription<'a>
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