pub enum Temperature {
Default,
Omit,
Fixed(f32),
}Expand description
What a profile says to do with temperature.
Variants§
Default
Send what the config asks for (the default, and what every backend does).
Omit
Never send it: some routes reject the field outright.
Fixed(f32)
Always send this value, whatever the config says.
Trait Implementations§
Source§impl Clone for Temperature
impl Clone for Temperature
impl Copy for Temperature
Source§impl Debug for Temperature
impl Debug for Temperature
Source§impl PartialEq for Temperature
impl PartialEq for Temperature
impl StructuralPartialEq for Temperature
Auto Trait Implementations§
impl Forget for Temperature
impl Freeze for Temperature
impl Move for Temperature
impl RefUnwindSafe for Temperature
impl Send for Temperature
impl Sync for Temperature
impl Unpin for Temperature
impl UnsafeUnpin for Temperature
impl UnwindSafe for Temperature
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