Struct rtlola_frontend::mir::Close
source · pub struct Close {
pub condition: Option<Expression>,
pub pacing: PacingType,
pub has_self_reference: bool,
}
Expand description
Information on the close behavior of a stream
Fields§
§condition: Option<Expression>
The condition
expression needs to be evaluated whenever the stream with this Close template is supposed to be closed. The result of the evaluation constitutes whether the stream is closed.
pacing: PacingType
The timing of the close condition.
has_self_reference: bool
Indicates whether the close condition contains a reference to the stream it belongs to.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Close
impl<'de> Deserialize<'de> for Close
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