pub struct ActivityCalendarConfig {
pub logical_name: ObisCode,
pub calendar_name_active: Vec<u8>,
pub season_profile_active: Vec<SeasonProfile>,
pub week_profile_table_active: Vec<WeekProfile>,
pub day_profile_table_active: Vec<DayProfile>,
pub calendar_name_passive: Vec<u8>,
pub season_profile_passive: Vec<SeasonProfile>,
pub week_profile_table_passive: Vec<WeekProfile>,
pub day_profile_table_passive: Vec<DayProfile>,
pub activate_passive_calendar_time: Vec<u8>,
}Expand description
Configuration structure used to build an ActivityCalendar object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
calendar_name_active: Vec<u8>Attribute 2: name of the active calendar.
season_profile_active: Vec<SeasonProfile>Attribute 3: active season profile (array of season structures).
week_profile_table_active: Vec<WeekProfile>Attribute 4: active week profile table (array).
day_profile_table_active: Vec<DayProfile>Attribute 5: active day profile table (array).
calendar_name_passive: Vec<u8>Attribute 6: name of the passive calendar.
season_profile_passive: Vec<SeasonProfile>Attribute 7: passive season profile (array).
week_profile_table_passive: Vec<WeekProfile>Attribute 8: passive week profile table (array).
day_profile_table_passive: Vec<DayProfile>Attribute 9: passive day profile table (array).
activate_passive_calendar_time: Vec<u8>Attribute 10: date-time at which the passive calendar becomes active.
Trait Implementations§
Source§impl Clone for ActivityCalendarConfig
impl Clone for ActivityCalendarConfig
Source§fn clone(&self) -> ActivityCalendarConfig
fn clone(&self) -> ActivityCalendarConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActivityCalendarConfig
impl Debug for ActivityCalendarConfig
Source§impl<'de> Deserialize<'de> for ActivityCalendarConfig
impl<'de> Deserialize<'de> for ActivityCalendarConfig
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 Freeze for ActivityCalendarConfig
impl RefUnwindSafe for ActivityCalendarConfig
impl Send for ActivityCalendarConfig
impl Sync for ActivityCalendarConfig
impl Unpin for ActivityCalendarConfig
impl UnsafeUnpin for ActivityCalendarConfig
impl UnwindSafe for ActivityCalendarConfig
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