Struct libosdp_sys::osdp_cmd_comset
source · #[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.
@param address Unit ID to which this PD will respond after the change takes effect. @param baud_rate baud rate value 9600/19200/38400/57600/115200/230400
Fields§
§address: u8§baud_rate: u32Trait 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 copy 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 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