#[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: u8
Unit ID to which this PD will respond after the change takes effect.
baud_rate: u32
Baud rate.
Valid values: 9600, 19200, 38400, 115200, 230400.
Trait Implementations§
Source§impl Clone for osdp_cmd_comset
impl Clone for osdp_cmd_comset
Source§fn clone(&self) -> osdp_cmd_comset
fn clone(&self) -> osdp_cmd_comset
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 osdp_cmd_comset
impl Debug 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 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