[][src]Enum ichen_openprotocol::Filter

pub enum Filter {
    Status,
    Cycle,
    Mold,
    Actions,
    Alarms,
    Audit,
    All,
    JobCards,
    Operators,
    OPCUA,
}

General authorizations to access the iChen System via Open Protocol.

For details, see this document.

Variants

Status

Controller status update messages.

Cycle

Cycle data messages.

Mold

Mold data messages.

Actions

Controller action messages.

Alarms

Controller alarm messages.

Audit

Controller audit messages.

All

All = Status + Cycle + Mold + Actions + Alarms + Audit

JobCards

MIS/MES integration: Job scheduling messages.

Operators

MIS/MES integration: User authorization messages.

OPCUA

Industrial bus integration: Connect to the OPC UA server.

Methods

impl Filter[src]

pub fn is_all(&self) -> bool[src]

Returns true if Filter::All.

pub fn is_machine(&self) -> bool[src]

Returns true if machine-related filter flags.

pub fn is_mis(&self) -> bool[src]

Returns true if MIS/MES-related filter flags.

pub fn is_bus(&self) -> bool[src]

Returns true if interface of an industrial bus (e.g. OPC UA).

Trait Implementations

impl Clone for Filter[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Ord for Filter[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl AsRef<str> for Filter[src]

impl From<Filter> for &'static str[src]

impl<'_derivative_strum> From<&'_derivative_strum Filter> for &'static str[src]

impl PartialOrd<Filter> for Filter[src]

#[must_use] fn lt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use] fn le(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use] fn gt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use] fn ge(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq<Filter> for Filter[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Copy for Filter[src]

impl Eq for Filter[src]

impl Display for Filter[src]

impl Debug for Filter[src]

impl Hash for Filter[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl FromStr for Filter[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl Serialize for Filter[src]

impl<'de> Deserialize<'de> for Filter[src]

impl IntoEnumIterator for Filter[src]

type Iterator = FilterIter

Auto Trait Implementations

impl Sync for Filter

impl Send for Filter

impl Unpin for Filter

impl RefUnwindSafe for Filter

impl UnwindSafe for Filter

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]