pub struct GasProfile {
pub index: GasProfileIndex,
pub target_temp: Celsius,
pub wait_time: Milliseconds,
}Expand description
Configuration for the gas sensor heating plate.
Fields§
§index: GasProfileIndexSlot index in the sensor memory where this profile is stored.
target_temp: CelsiusTarget temperature in Celsius.
wait_time: MillisecondsDuration to maintain the temperature before measurement.
Trait Implementations§
Source§impl Clone for GasProfile
impl Clone for GasProfile
Source§fn clone(&self) -> GasProfile
fn clone(&self) -> GasProfile
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 moreimpl Copy for GasProfile
Auto Trait Implementations§
impl Freeze for GasProfile
impl RefUnwindSafe for GasProfile
impl Send for GasProfile
impl Sync for GasProfile
impl Unpin for GasProfile
impl UnwindSafe for GasProfile
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