[][src]Struct opcua_server::events::event::BaseEventType

pub struct BaseEventType { /* fields omitted */ }

This corresponds to BaseEventType definition in OPC UA Part 5

Implementations

impl BaseEventType[src]

pub fn new_now<R, E, S, T, U>(
    node_id: R,
    event_type_id: E,
    browse_name: S,
    display_name: T,
    parent_node: U
) -> Self where
    R: Into<NodeId>,
    E: Into<NodeId>,
    S: Into<QualifiedName>,
    T: Into<LocalizedText>,
    U: Into<NodeId>, 
[src]

pub fn new<R, E, S, T, U>(
    node_id: R,
    event_type_id: E,
    browse_name: S,
    display_name: T,
    parent_node: U,
    time: DateTime
) -> Self where
    R: Into<NodeId>,
    E: Into<NodeId>,
    S: Into<QualifiedName>,
    T: Into<LocalizedText>,
    U: Into<NodeId>, 
[src]

pub fn add_property<T, R, S, U, V>(
    &mut self,
    event_id: &NodeId,
    property_id: T,
    browse_name: R,
    display_name: S,
    data_type: U,
    value: V,
    address_space: &mut AddressSpace
) where
    T: Into<NodeId>,
    R: Into<QualifiedName>,
    S: Into<LocalizedText>,
    U: Into<NodeId>,
    V: Into<Variant>, 
[src]

Add a property to the event object

pub fn message<T>(self, message: T) -> Self where
    T: Into<LocalizedText>, 
[src]

pub fn source_node<T>(self, source_node: T) -> Self where
    T: Into<NodeId>, 
[src]

pub fn source_name<T>(self, source_name: T) -> Self where
    T: Into<UAString>, 
[src]

pub fn local_time(self, local_time: Option<TimeZoneDataType>) -> Self[src]

pub fn severity(self, severity: u16) -> Self[src]

pub fn receive_time(self, receive_time: DateTime) -> Self[src]

pub fn properties(&self) -> &Vec<(LocalizedText, Variant)>[src]

Trait Implementations

impl Event for BaseEventType[src]

type Err = ()

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,