pub struct ScriptTableConfig {
pub logical_name: ObisCode,
pub scripts: Vec<Script>,
}Expand description
Configuration used to build a ScriptTable object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
scripts: Vec<Script>Attribute 2: array of script structures { script_identifier, actions }.
Trait Implementations§
Source§impl Clone for ScriptTableConfig
impl Clone for ScriptTableConfig
Source§fn clone(&self) -> ScriptTableConfig
fn clone(&self) -> ScriptTableConfig
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 ScriptTableConfig
impl Debug for ScriptTableConfig
Source§impl<'de> Deserialize<'de> for ScriptTableConfig
impl<'de> Deserialize<'de> for ScriptTableConfig
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 ScriptTableConfig
impl RefUnwindSafe for ScriptTableConfig
impl Send for ScriptTableConfig
impl Sync for ScriptTableConfig
impl Unpin for ScriptTableConfig
impl UnsafeUnpin for ScriptTableConfig
impl UnwindSafe for ScriptTableConfig
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