pub struct ScheduleAttrs {
pub logical_name: LogicalName,
pub entries: Vec<Choice>,
}Expand description
Schedule class (class_id = 10) attributes.
- attr 1: logical_name (octet-string)
- attr 2: entries (array of {switch_time, day_profile_table, week_profile_table, month_profile_table})
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
entries: Vec<Choice>Array of schedule entries (attribute 2).
Trait Implementations§
Source§impl Clone for ScheduleAttrs
impl Clone for ScheduleAttrs
Source§fn clone(&self) -> ScheduleAttrs
fn clone(&self) -> ScheduleAttrs
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 ScheduleAttrs
impl Debug for ScheduleAttrs
Source§impl<'de> Deserialize<'de> for ScheduleAttrs
impl<'de> Deserialize<'de> for ScheduleAttrs
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 ScheduleAttrs
impl RefUnwindSafe for ScheduleAttrs
impl Send for ScheduleAttrs
impl Sync for ScheduleAttrs
impl Unpin for ScheduleAttrs
impl UnsafeUnpin for ScheduleAttrs
impl UnwindSafe for ScheduleAttrs
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