#[repr(C)]pub struct osdp_cmd_comset {
pub address: u8,
pub baud_rate: u32,
}Expand description
@brief Sent in response to a COMSET command. Set communication parameters to PD. Must be stored in PD non-volatile memory.
Fields§
§address: u8Unit ID to which this PD will respond after the change takes effect.
baud_rate: u32Baud rate.
Valid values: 9600, 19200, 38400, 115200, 230400.
Trait Implementations§
Source§impl Clone for osdp_cmd_comset
impl Clone for osdp_cmd_comset
impl Copy for osdp_cmd_comset
Auto Trait Implementations§
impl Freeze for osdp_cmd_comset
impl RefUnwindSafe for osdp_cmd_comset
impl Send for osdp_cmd_comset
impl Sync for osdp_cmd_comset
impl Unpin for osdp_cmd_comset
impl UnsafeUnpin for osdp_cmd_comset
impl UnwindSafe for osdp_cmd_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