Struct opcua_server::prelude::operand::ContentFilterBuilder
source · [−]pub struct ContentFilterBuilder { /* private fields */ }
Expand description
This is a convenience for building ContentFilter
using operands as building blocks
This builder does not check to see that the content filter is valid, i.e. if you
reference an element by index that doesn’t exist, or introduce a loop then you will
not get an error until you feed it to a server and the server rejects it or breaks.
The builder takes generic types to make it easier to work with. Operands are converted to extension objects.
Implementations
sourceimpl ContentFilterBuilder
impl ContentFilterBuilder
pub fn new() -> ContentFilterBuilder
pub fn eq<T, S>(self, o1: T, o2: S) -> ContentFilterBuilder where
T: Into<Operand>,
S: Into<Operand>,
pub fn null<T>(self, o1: T) -> ContentFilterBuilder where
T: Into<Operand>,
pub fn gt<T, S>(self, o1: T, o2: S) -> ContentFilterBuilder where
T: Into<Operand>,
S: Into<Operand>,
pub fn lt<T, S>(self, o1: T, o2: S) -> ContentFilterBuilder where
T: Into<Operand>,
S: Into<Operand>,
pub fn gte<T, S>(self, o1: T, o2: S) -> ContentFilterBuilder where
T: Into<Operand>,
S: Into<Operand>,
pub fn lte<T, S>(self, o1: T, o2: S) -> ContentFilterBuilder where
T: Into<Operand>,
S: Into<Operand>,
pub fn like<T, S>(self, o1: T, o2: S) -> ContentFilterBuilder where
T: Into<Operand>,
S: Into<Operand>,
pub fn not<T>(self, o1: T) -> ContentFilterBuilder where
T: Into<Operand>,
pub fn between<T, S, U>(self, o1: T, o2: S, o3: U) -> ContentFilterBuilder where
T: Into<Operand>,
S: Into<Operand>,
U: Into<Operand>,
pub fn in_list<T, S>(
self,
o1: T,
list_items: Vec<S, Global>
) -> ContentFilterBuilder where
T: Into<Operand>,
S: Into<Operand>,
pub fn and<T, S>(self, o1: T, o2: S) -> ContentFilterBuilder where
T: Into<Operand>,
S: Into<Operand>,
pub fn or<T, S>(self, o1: T, o2: S) -> ContentFilterBuilder where
T: Into<Operand>,
S: Into<Operand>,
pub fn cast<T, S>(self, o1: T, o2: S) -> ContentFilterBuilder where
T: Into<Operand>,
S: Into<Operand>,
pub fn bitwise_and<T, S>(self, o1: T, o2: S) -> ContentFilterBuilder where
T: Into<Operand>,
S: Into<Operand>,
pub fn bitwise_or<T, S>(self, o1: T, o2: S) -> ContentFilterBuilder where
T: Into<Operand>,
S: Into<Operand>,
pub fn build(self) -> ContentFilter
Trait Implementations
sourceimpl Default for ContentFilterBuilder
impl Default for ContentFilterBuilder
sourcefn default() -> ContentFilterBuilder
fn default() -> ContentFilterBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ContentFilterBuilder
impl Send for ContentFilterBuilder
impl Sync for ContentFilterBuilder
impl Unpin for ContentFilterBuilder
impl UnwindSafe for ContentFilterBuilder
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