Struct follow_heating::io::wiser::hub::WiserRoomData
source · pub struct WiserRoomData {
id: usize,
override_type: Option<String>,
override_timeout_unix_time: Option<i64>,
override_set_point: Option<i32>,
setpoint_origin: String,
calculated_temperature: i32,
current_set_point: i32,
scheduled_set_point: i32,
name: Option<String>,
}
Fields§
§id: usize
§override_type: Option<String>
§override_timeout_unix_time: Option<i64>
§override_set_point: Option<i32>
§setpoint_origin: String
§calculated_temperature: i32
§current_set_point: i32
§scheduled_set_point: i32
§name: Option<String>
Implementations§
source§impl WiserRoomData
impl WiserRoomData
pub fn new( id: usize, override_type: Option<String>, override_timeout_unix_time: Option<i64>, override_set_point: Option<i32>, setpoint_origin: String, calculated_temperature: i32, current_set_point: i32, name: Option<String> ) -> Self
pub fn get_id(&self) -> usize
pub fn get_override_timeout(&self) -> Option<DateTime<Utc>>
pub fn get_setpoint_origin(&self) -> &str
pub fn get_override_set_point(&self) -> Option<f32>
pub fn get_set_point(&self) -> f32
pub fn get_scheduled_set_point(&self) -> f32
pub fn get_temperature(&self) -> f32
pub fn get_name(&self) -> Option<&str>
Trait Implementations§
source§impl Clone for WiserRoomData
impl Clone for WiserRoomData
source§fn clone(&self) -> WiserRoomData
fn clone(&self) -> WiserRoomData
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 WiserRoomData
impl Debug for WiserRoomData
source§impl<'de> Deserialize<'de> for WiserRoomData
impl<'de> Deserialize<'de> for WiserRoomData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for WiserRoomData
impl Send for WiserRoomData
impl Sync for WiserRoomData
impl Unpin for WiserRoomData
impl UnwindSafe for WiserRoomData
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