pub struct UriMessage {
pub protocol_version: u8,
pub aps: u8,
pub ict: bool,
pub emi_data: EmiData,
}Expand description
A CI Plus uri_message() (Table 91), URI version 3.
Fields§
§protocol_version: u8protocol_version (8) — 0x03 for URI v3.
aps: u8aps_copy_control_info (2).
ict: boolict_copy_control_info (1).
emi_data: EmiDataThe emi_copy_control_info-selected fields (also encodes the 2-bit EMI).
Trait Implementations§
Source§impl Clone for UriMessage
impl Clone for UriMessage
Source§fn clone(&self) -> UriMessage
fn clone(&self) -> UriMessage
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 UriMessage
Source§impl Debug for UriMessage
impl Debug for UriMessage
impl Eq for UriMessage
Source§impl<'a> Parse<'a> for UriMessage
impl<'a> Parse<'a> for UriMessage
Source§impl PartialEq for UriMessage
impl PartialEq for UriMessage
Source§fn eq(&self, other: &UriMessage) -> bool
fn eq(&self, other: &UriMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UriMessage
impl Serialize for UriMessage
Source§impl Serialize for UriMessage
impl Serialize for UriMessage
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for UriMessage
Auto Trait Implementations§
impl Freeze for UriMessage
impl RefUnwindSafe for UriMessage
impl Send for UriMessage
impl Sync for UriMessage
impl Unpin for UriMessage
impl UnsafeUnpin for UriMessage
impl UnwindSafe for UriMessage
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