pub struct StackVoltageCallbackThreshold {
pub option: char,
pub min: u16,
pub max: u16,
}Fields§
§option: char§min: u16§max: u16Trait Implementations§
Source§impl Clone for StackVoltageCallbackThreshold
impl Clone for StackVoltageCallbackThreshold
Source§fn clone(&self) -> StackVoltageCallbackThreshold
fn clone(&self) -> StackVoltageCallbackThreshold
Returns a duplicate 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 Default for StackVoltageCallbackThreshold
impl Default for StackVoltageCallbackThreshold
Source§fn default() -> StackVoltageCallbackThreshold
fn default() -> StackVoltageCallbackThreshold
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for StackVoltageCallbackThreshold
impl FromByteSlice for StackVoltageCallbackThreshold
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]) -> StackVoltageCallbackThreshold
fn from_le_byte_slice(bytes: &[u8]) -> StackVoltageCallbackThreshold
Deserialize the implementing type from a byte slice.
Source§impl Hash for StackVoltageCallbackThreshold
impl Hash for StackVoltageCallbackThreshold
Source§impl PartialEq for StackVoltageCallbackThreshold
impl PartialEq for StackVoltageCallbackThreshold
Source§fn eq(&self, other: &StackVoltageCallbackThreshold) -> bool
fn eq(&self, other: &StackVoltageCallbackThreshold) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StackVoltageCallbackThreshold
impl Eq for StackVoltageCallbackThreshold
impl StructuralPartialEq for StackVoltageCallbackThreshold
Auto Trait Implementations§
impl Freeze for StackVoltageCallbackThreshold
impl RefUnwindSafe for StackVoltageCallbackThreshold
impl Send for StackVoltageCallbackThreshold
impl Sync for StackVoltageCallbackThreshold
impl Unpin for StackVoltageCallbackThreshold
impl UnwindSafe for StackVoltageCallbackThreshold
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