pub struct ComSet {
pub address: u8,
pub baud: u32,
}Expand description
osdp_COMSET body.
Fields§
§address: u8New PD address (0x00..=0x7E).
baud: u32New bit rate (e.g. 9600, 115200).
Implementations§
Trait Implementations§
impl Copy for ComSet
impl Eq for ComSet
impl StructuralPartialEq for ComSet
Auto Trait Implementations§
impl Freeze for ComSet
impl RefUnwindSafe for ComSet
impl Send for ComSet
impl Sync for ComSet
impl Unpin for ComSet
impl UnsafeUnpin for ComSet
impl UnwindSafe for ComSet
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