pub struct ScheduleTableEntry {
pub index: u16,
pub enable: bool,
pub script_logical_name: ObisCode,
pub script_selector: u16,
pub switch_time: Vec<u8>,
pub validity_window: u16,
pub exec_weekdays: Vec<u8>,
pub exec_specdays: Vec<u8>,
pub begin_date: Vec<u8>,
pub end_date: Vec<u8>,
}Expand description
schedule_table_entry — structure { index, enable, script_logical_name, … }
Used in Schedule (attr 2).
Fields§
§index: u16Entry index.
enable: boolEnable flag.
script_logical_name: ObisCodeLogical name of the Script Table.
script_selector: u16Script selector.
switch_time: Vec<u8>Switch time.
validity_window: u16Validity window in seconds.
exec_weekdays: Vec<u8>Execution weekdays bit-string.
exec_specdays: Vec<u8>Execution special days bit-string.
begin_date: Vec<u8>Begin date.
end_date: Vec<u8>End date.
Trait Implementations§
Source§impl Clone for ScheduleTableEntry
impl Clone for ScheduleTableEntry
Source§fn clone(&self) -> ScheduleTableEntry
fn clone(&self) -> ScheduleTableEntry
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 ScheduleTableEntry
impl Debug for ScheduleTableEntry
Source§impl<'de> Deserialize<'de> for ScheduleTableEntry
impl<'de> Deserialize<'de> for ScheduleTableEntry
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
impl Eq for ScheduleTableEntry
Source§impl From<ScheduleTableEntry> for CosemDataType
impl From<ScheduleTableEntry> for CosemDataType
Source§fn from(e: ScheduleTableEntry) -> Self
fn from(e: ScheduleTableEntry) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScheduleTableEntry
impl PartialEq for ScheduleTableEntry
Source§impl Serialize for ScheduleTableEntry
impl Serialize for ScheduleTableEntry
impl StructuralPartialEq for ScheduleTableEntry
Source§impl TryFrom<&CosemDataType> for ScheduleTableEntry
impl TryFrom<&CosemDataType> for ScheduleTableEntry
Auto Trait Implementations§
impl Freeze for ScheduleTableEntry
impl RefUnwindSafe for ScheduleTableEntry
impl Send for ScheduleTableEntry
impl Sync for ScheduleTableEntry
impl Unpin for ScheduleTableEntry
impl UnsafeUnpin for ScheduleTableEntry
impl UnwindSafe for ScheduleTableEntry
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