Struct tinkerforge::rs485_bricklet::Rs485Configuration
source · pub struct Rs485Configuration {
pub baudrate: u32,
pub parity: u8,
pub stopbits: u8,
pub wordlength: u8,
pub duplex: u8,
}
Fields§
§baudrate: u32
§parity: u8
§stopbits: u8
§wordlength: u8
§duplex: u8
Trait Implementations§
source§impl Clone for Rs485Configuration
impl Clone for Rs485Configuration
source§fn clone(&self) -> Rs485Configuration
fn clone(&self) -> Rs485Configuration
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 Rs485Configuration
impl Debug for Rs485Configuration
source§impl Default for Rs485Configuration
impl Default for Rs485Configuration
source§fn default() -> Rs485Configuration
fn default() -> Rs485Configuration
Returns the “default value” for a type. Read more
source§impl FromByteSlice for Rs485Configuration
impl FromByteSlice for Rs485Configuration
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> Rs485Configuration
fn from_le_byte_slice(bytes: &[u8]) -> Rs485Configuration
Deserialize the implementing type from a byte slice.
source§impl Hash for Rs485Configuration
impl Hash for Rs485Configuration
source§impl PartialEq for Rs485Configuration
impl PartialEq for Rs485Configuration
source§fn eq(&self, other: &Rs485Configuration) -> bool
fn eq(&self, other: &Rs485Configuration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Rs485Configuration
impl Eq for Rs485Configuration
impl StructuralPartialEq for Rs485Configuration
Auto Trait Implementations§
impl RefUnwindSafe for Rs485Configuration
impl Send for Rs485Configuration
impl Sync for Rs485Configuration
impl Unpin for Rs485Configuration
impl UnwindSafe for Rs485Configuration
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