[−][src]Struct opcua_server::events::event::BaseEventType
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]
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>,
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]
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>,
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]
&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>,
Add a property to the event object
pub fn message<T>(self, message: T) -> Self where
T: Into<LocalizedText>, [src]
T: Into<LocalizedText>,
pub fn source_node<T>(self, source_node: T) -> Self where
T: Into<NodeId>, [src]
T: Into<NodeId>,
pub fn source_name<T>(self, source_name: T) -> Self where
T: Into<UAString>, [src]
T: Into<UAString>,
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]
Auto Trait Implementations
impl RefUnwindSafe for BaseEventType
impl Send for BaseEventType
impl Sync for BaseEventType
impl Unpin for BaseEventType
impl UnwindSafe for BaseEventType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,