pub struct ServiceContext<'a> {
pub context_id: u32,
pub data: &'a [u8],
}Expand description
One serviceContext entry in a BIOP message’s serviceContextList.
ISO/IEC 13818-6 / TR 101 202 §4.7.4.
Fields§
§context_id: u32CDR context_id (32-bit).
data: &'a [u8]context_data bytes.
Trait Implementations§
Source§impl<'a> Clone for ServiceContext<'a>
impl<'a> Clone for ServiceContext<'a>
Source§fn clone(&self) -> ServiceContext<'a>
fn clone(&self) -> ServiceContext<'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 ServiceContext<'a>
impl<'a> Debug for ServiceContext<'a>
impl<'a> Eq for ServiceContext<'a>
Source§impl<'a> PartialEq for ServiceContext<'a>
impl<'a> PartialEq for ServiceContext<'a>
Source§fn eq(&self, other: &ServiceContext<'a>) -> bool
fn eq(&self, other: &ServiceContext<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for ServiceContext<'a>
impl<'a> Serialize for ServiceContext<'a>
impl<'a> StructuralPartialEq for ServiceContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for ServiceContext<'a>
impl<'a> RefUnwindSafe for ServiceContext<'a>
impl<'a> Send for ServiceContext<'a>
impl<'a> Sync for ServiceContext<'a>
impl<'a> Unpin for ServiceContext<'a>
impl<'a> UnsafeUnpin for ServiceContext<'a>
impl<'a> UnwindSafe for ServiceContext<'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