Struct UiUpdate

Source
pub struct UiUpdate {
Show 30 fields pub current_date: DateTime<FixedOffset>, pub control: String, pub user_mode: String, pub manual_set_point: f64, pub clock_program: String, pub current_switch_point: f64, pub temp_override_active: bool, pub temp_override_duration: f64, pub temp_override_set_point: f64, pub temp_set_point: f64, pub in_house_temp: f64, pub in_house_status: String, pub das: String, pub tas: String, pub holiday_mode_active: bool, pub ars: String, pub fireplace_active: bool, pub powersave_active: bool, pub boiler_indicator: BoilerIndicator, pub boiler_lock_active: bool, pub boiler_block_active: bool, pub boiler_maintenance_active: bool, pub pmr: String, pub rs: String, pub hot_water_active: bool, pub hed_enabled: bool, pub hed_device_at_home: bool, pub fah: String, pub dot: String, pub hed_db: String,
}

Fields§

§current_date: DateTime<FixedOffset>§control: String§user_mode: String§manual_set_point: f64§clock_program: String§current_switch_point: f64§temp_override_active: bool§temp_override_duration: f64§temp_override_set_point: f64§temp_set_point: f64§in_house_temp: f64§in_house_status: String§das: String§tas: String§holiday_mode_active: bool§ars: String§fireplace_active: bool§powersave_active: bool§boiler_indicator: BoilerIndicator§boiler_lock_active: bool§boiler_block_active: bool§boiler_maintenance_active: bool§pmr: String§rs: String§hot_water_active: bool§hed_enabled: bool§hed_device_at_home: bool§fah: String§dot: String§hed_db: String

Trait Implementations§

Source§

impl Clone for UiUpdate

Source§

fn clone(&self) -> UiUpdate

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UiUpdate

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for UiUpdate

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for UiUpdate

Source§

fn eq(&self, other: &UiUpdate) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for UiUpdate

Source§

fn partial_cmp(&self, other: &UiUpdate) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl StructuralPartialEq for UiUpdate

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,