pub struct ScriptTableAttrs {
pub logical_name: LogicalName,
pub scripts: Vec<Choice>,
}Expand description
Script table class (class_id = 9) attributes.
- attr 1: logical_name (octet-string)
- attr 2: scripts (array of {script_id, actions})
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
scripts: Vec<Choice>Array of script entries (attribute 2).
Trait Implementations§
Source§impl Clone for ScriptTableAttrs
impl Clone for ScriptTableAttrs
Source§fn clone(&self) -> ScriptTableAttrs
fn clone(&self) -> ScriptTableAttrs
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 ScriptTableAttrs
impl Debug for ScriptTableAttrs
Source§impl<'de> Deserialize<'de> for ScriptTableAttrs
impl<'de> Deserialize<'de> for ScriptTableAttrs
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 ScriptTableAttrs
impl RefUnwindSafe for ScriptTableAttrs
impl Send for ScriptTableAttrs
impl Sync for ScriptTableAttrs
impl Unpin for ScriptTableAttrs
impl UnsafeUnpin for ScriptTableAttrs
impl UnwindSafe for ScriptTableAttrs
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