pub struct RepeatProcessSrcElementConf {
pub program: Option<String>,
pub args: Vec<String>,
pub command: String,
pub interval_ms: Duration,
}Expand description
Configuration type for ProcessSrcElement
Fields§
§program: Option<String>Executable path.
args: Vec<String>Arguments.
command: StringUse if program is empty.
interval_ms: DurationTrait Implementations§
source§impl Clone for RepeatProcessSrcElementConf
impl Clone for RepeatProcessSrcElementConf
source§fn clone(&self) -> RepeatProcessSrcElementConf
fn clone(&self) -> RepeatProcessSrcElementConf
Returns a copy of the value. Read more
1.0.0 · 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 RepeatProcessSrcElementConf
impl Debug for RepeatProcessSrcElementConf
source§impl<'de> Deserialize<'de> for RepeatProcessSrcElementConf
impl<'de> Deserialize<'de> for RepeatProcessSrcElementConf
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