pub struct SingleActionScheduleConfig {
pub logical_name: ObisCode,
pub executed_script: ExecutedScript,
pub schedule_type: u8,
pub execution_time: Vec<ExecutionTime>,
}Expand description
Configuration structure used to build a SingleActionSchedule object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
executed_script: ExecutedScriptAttribute 2: script structure { script_logical_name, script_selector }.
schedule_type: u8Attribute 3: schedule type (enum 1..6, defines date/time wildcard handling).
execution_time: Vec<ExecutionTime>Attribute 4: array of execution_time structures { time, date }.
Trait Implementations§
Source§impl Clone for SingleActionScheduleConfig
impl Clone for SingleActionScheduleConfig
Source§fn clone(&self) -> SingleActionScheduleConfig
fn clone(&self) -> SingleActionScheduleConfig
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 SingleActionScheduleConfig
impl Debug for SingleActionScheduleConfig
Source§impl<'de> Deserialize<'de> for SingleActionScheduleConfig
impl<'de> Deserialize<'de> for SingleActionScheduleConfig
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 SingleActionScheduleConfig
impl RefUnwindSafe for SingleActionScheduleConfig
impl Send for SingleActionScheduleConfig
impl Sync for SingleActionScheduleConfig
impl Unpin for SingleActionScheduleConfig
impl UnsafeUnpin for SingleActionScheduleConfig
impl UnwindSafe for SingleActionScheduleConfig
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