pub struct EventField {
pub type_definition: NodeId,
pub path: Vec<BrowseName>,
}Expand description
One select clause. The type identifies the event declaring the field. An empty path selects the NodeId attribute of the event instance (for example ConditionId).
Fields§
§type_definition: NodeIdStable event type NodeId, such as BaseEventType (i=2041).
path: Vec<BrowseName>Relative qualified field names. Up to eight components.
Implementations§
Source§impl EventField
impl EventField
Sourcepub fn condition_id() -> Self
pub fn condition_id() -> Self
Select the reported ConditionId (the NodeId attribute of ConditionType, empty browse path).
For an instance outside the standard namespace, normalize the returned NodeId with
Events::stable_node before using it on another session.
Sourcepub fn base(name: &str) -> Result<Self, BrowseError>
pub fn base(name: &str) -> Result<Self, BrowseError>
Select one field of BaseEventType, such as EventId, Time, Message or Severity.
Trait Implementations§
Source§impl Clone for EventField
impl Clone for EventField
Auto Trait Implementations§
impl Forget for EventField
impl Freeze for EventField
impl Move for EventField
impl RefUnwindSafe for EventField
impl Send for EventField
impl Sync for EventField
impl Unpin for EventField
impl UnsafeUnpin for EventField
impl UnwindSafe for EventField
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more