#[non_exhaustive]pub struct Scripts {
pub commit_files: Vec<String>,
pub op_files: Vec<String>,
pub event_files: Vec<String>,
pub snmp_files: Vec<String>,
pub language: Option<String>,
pub synchronize: bool,
pub max_datasize: Option<String>,
pub commit: Option<ScriptKind>,
pub op: Option<ScriptKind>,
pub snmp: Option<ScriptKind>,
pub load_scripts_from_flash: bool,
pub translation_max_datasize: Option<String>,
}Expand description
The system scripts configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.commit_files: Vec<String>File names from commit { file <name>; }.
op_files: Vec<String>§event_files: Vec<String>§snmp_files: Vec<String>§language: Option<String>e.g. python3.
synchronize: bool§max_datasize: Option<String>§commit: Option<ScriptKind>§op: Option<ScriptKind>§snmp: Option<ScriptKind>§load_scripts_from_flash: bool§translation_max_datasize: Option<String>From translation { max-datasize }.
Trait Implementations§
impl Eq for Scripts
impl StructuralPartialEq for Scripts
Auto Trait Implementations§
impl Forget for Scripts
impl Freeze for Scriptswhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ScriptFile>: Freeze,
PhantomData<TraceFlag>: Freeze,
impl Move for Scripts
impl RefUnwindSafe for Scripts
impl Send for Scriptswhere
RawVecInner: Send,
impl Sync for Scriptswhere
RawVecInner: Sync,
impl Unpin for Scripts
impl UnsafeUnpin for Scriptswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ScriptFile>: UnsafeUnpin,
PhantomData<TraceFlag>: UnsafeUnpin,
impl UnwindSafe for Scriptswhere
RawVecInner: UnwindSafe,
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