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