pub struct SpecialDaysTableConfig {
pub logical_name: ObisCode,
pub entries: Vec<SpecialDayEntry>,
}Expand description
Configuration used to build a SpecialDaysTable object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
entries: Vec<SpecialDayEntry>Attribute 2: array of special_day entries { index, date, day_id }.
Trait Implementations§
Source§impl Clone for SpecialDaysTableConfig
impl Clone for SpecialDaysTableConfig
Source§fn clone(&self) -> SpecialDaysTableConfig
fn clone(&self) -> SpecialDaysTableConfig
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 SpecialDaysTableConfig
impl Debug for SpecialDaysTableConfig
Source§impl<'de> Deserialize<'de> for SpecialDaysTableConfig
impl<'de> Deserialize<'de> for SpecialDaysTableConfig
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 SpecialDaysTableConfig
impl RefUnwindSafe for SpecialDaysTableConfig
impl Send for SpecialDaysTableConfig
impl Sync for SpecialDaysTableConfig
impl Unpin for SpecialDaysTableConfig
impl UnsafeUnpin for SpecialDaysTableConfig
impl UnwindSafe for SpecialDaysTableConfig
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