pub struct ErrorStateEvent {
pub over_under: bool,
pub open_circuit: bool,
}
Fields§
§over_under: bool
§open_circuit: bool
Trait Implementations§
Source§impl Clone for ErrorStateEvent
impl Clone for ErrorStateEvent
Source§fn clone(&self) -> ErrorStateEvent
fn clone(&self) -> ErrorStateEvent
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 ErrorStateEvent
impl Debug for ErrorStateEvent
Source§impl Default for ErrorStateEvent
impl Default for ErrorStateEvent
Source§fn default() -> ErrorStateEvent
fn default() -> ErrorStateEvent
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for ErrorStateEvent
impl FromByteSlice for ErrorStateEvent
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]) -> ErrorStateEvent
fn from_le_byte_slice(bytes: &[u8]) -> ErrorStateEvent
Deserialize the implementing type from a byte slice.
Source§impl Hash for ErrorStateEvent
impl Hash for ErrorStateEvent
Source§impl PartialEq for ErrorStateEvent
impl PartialEq for ErrorStateEvent
impl Copy for ErrorStateEvent
impl Eq for ErrorStateEvent
impl StructuralPartialEq for ErrorStateEvent
Auto Trait Implementations§
impl Freeze for ErrorStateEvent
impl RefUnwindSafe for ErrorStateEvent
impl Send for ErrorStateEvent
impl Sync for ErrorStateEvent
impl Unpin for ErrorStateEvent
impl UnwindSafe for ErrorStateEvent
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