Struct tinkerforge::thermocouple_bricklet::ErrorState
source · pub struct ErrorState {
pub over_under: bool,
pub open_circuit: bool,
}
Fields§
§over_under: bool
§open_circuit: bool
Trait Implementations§
source§impl Clone for ErrorState
impl Clone for ErrorState
source§fn clone(&self) -> ErrorState
fn clone(&self) -> ErrorState
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 ErrorState
impl Debug for ErrorState
source§impl Default for ErrorState
impl Default for ErrorState
source§fn default() -> ErrorState
fn default() -> ErrorState
Returns the “default value” for a type. Read more
source§impl FromByteSlice for ErrorState
impl FromByteSlice for ErrorState
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]) -> ErrorState
fn from_le_byte_slice(bytes: &[u8]) -> ErrorState
Deserialize the implementing type from a byte slice.
source§impl Hash for ErrorState
impl Hash for ErrorState
source§impl PartialEq for ErrorState
impl PartialEq for ErrorState
source§fn eq(&self, other: &ErrorState) -> bool
fn eq(&self, other: &ErrorState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ErrorState
impl Eq for ErrorState
impl StructuralPartialEq for ErrorState
Auto Trait Implementations§
impl RefUnwindSafe for ErrorState
impl Send for ErrorState
impl Sync for ErrorState
impl Unpin for ErrorState
impl UnwindSafe for ErrorState
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