pub struct CommentExchange {
pub data: Vec<u8>,
pub rcom: u16,
}Expand description
COM marker data for exchange between caller and encoder.
Holds the comment body and registration value (Rcom):
rcom = 0— binary datarcom = 1— Latin text (ISO 8859-15)
Fields§
§data: Vec<u8>Comment body bytes.
rcom: u16Registration value (0 = binary, 1 = Latin text).
Implementations§
Trait Implementations§
Source§impl Clone for CommentExchange
impl Clone for CommentExchange
Source§fn clone(&self) -> CommentExchange
fn clone(&self) -> CommentExchange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommentExchange
impl Debug for CommentExchange
Source§impl Default for CommentExchange
impl Default for CommentExchange
Source§fn default() -> CommentExchange
fn default() -> CommentExchange
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommentExchange
impl RefUnwindSafe for CommentExchange
impl Send for CommentExchange
impl Sync for CommentExchange
impl Unpin for CommentExchange
impl UnsafeUnpin for CommentExchange
impl UnwindSafe for CommentExchange
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