pub struct StreamType {
pub value_ty: ConcreteValueType,
pub eval_pacing: ConcretePacingType,
pub eval_condition: Expression,
pub spawn_pacing: ConcretePacingType,
pub spawn_condition: Expression,
pub close_pacing: ConcretePacingType,
pub close_condition: Expression,
}Expand description
The external definition of the stream type.
Fields§
§value_ty: ConcreteValueTypeThe ConcreteValueType of the stream and his expression, e.g. Bool.
eval_pacing: ConcretePacingTypeThe ConcretePacingType of the stream, e.g. 5Hz.
eval_condition: ExpressionThe filter type given by the filter expression. The stream only has to be evaluated if this boolean expression evaluates to true.
spawn_pacing: ConcretePacingTypeThe pacing of the spawn expression.
spawn_condition: ExpressionThe spawn condition of the stream. The spawn expression only has to be evaluated if this expression evaluates to true.
close_pacing: ConcretePacingTypeThe pacing of the close condition.
close_condition: ExpressionThe stream can be closed and does not have to be evaluated if this boolean expression returns true.
Trait Implementations§
Source§impl Clone for StreamType
impl Clone for StreamType
Source§fn clone(&self) -> StreamType
fn clone(&self) -> StreamType
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for StreamType
impl RefUnwindSafe for StreamType
impl Send for StreamType
impl Sync for StreamType
impl Unpin for StreamType
impl UnwindSafe for StreamType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more