Struct rtlola_parser::ast::FilterSpec
source · [−]pub struct FilterSpec {
pub target: Expression,
pub id: NodeId,
pub span: Span,
}
Expand description
An Ast node representing the declaration of a filter condition of a stream template
Fields
target: Expression
The boolean expression defining the condition, if a stream instance is evaluated.
id: NodeId
The id of the node in the Ast
span: Span
The span in the specification declaring the extend declaration
Trait Implementations
sourceimpl Clone for FilterSpec
impl Clone for FilterSpec
sourcefn clone(&self) -> FilterSpec
fn clone(&self) -> FilterSpec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FilterSpec
impl Debug for FilterSpec
sourceimpl Display for FilterSpec
impl Display for FilterSpec
sourceimpl Hash for FilterSpec
impl Hash for FilterSpec
sourceimpl PartialEq<FilterSpec> for FilterSpec
impl PartialEq<FilterSpec> for FilterSpec
sourcefn eq(&self, other: &FilterSpec) -> bool
fn eq(&self, other: &FilterSpec) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FilterSpec) -> bool
fn ne(&self, other: &FilterSpec) -> bool
This method tests for !=
.
impl Eq for FilterSpec
impl StructuralEq for FilterSpec
impl StructuralPartialEq for FilterSpec
Auto Trait Implementations
impl RefUnwindSafe for FilterSpec
impl Send for FilterSpec
impl Sync for FilterSpec
impl Unpin for FilterSpec
impl UnwindSafe for FilterSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more