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
sourceimpl Clone for Rs485Configuration
impl Clone for Rs485Configuration
sourcefn clone(&self) -> Rs485Configuration
fn clone(&self) -> Rs485Configuration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Rs485Configuration
impl Debug for Rs485Configuration
sourceimpl Default for Rs485Configuration
impl Default for Rs485Configuration
sourcefn default() -> Rs485Configuration
fn default() -> Rs485Configuration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for Rs485Configuration
impl FromByteSlice for Rs485Configuration
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> Rs485Configuration
fn from_le_bytes(bytes: &[u8]) -> Rs485Configuration
Deserialize the implementing type from a byte slice.
sourceimpl Hash for Rs485Configuration
impl Hash for Rs485Configuration
sourceimpl PartialEq<Rs485Configuration> for Rs485Configuration
impl PartialEq<Rs485Configuration> for Rs485Configuration
sourcefn eq(&self, other: &Rs485Configuration) -> bool
fn eq(&self, other: &Rs485Configuration) -> bool
impl Copy for Rs485Configuration
impl Eq for Rs485Configuration
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more