pub enum NodeType {
Object(Box<Object>),
ObjectType(Box<ObjectType>),
ReferenceType(Box<ReferenceType>),
Variable(Box<Variable>),
VariableType(Box<VariableType>),
View(Box<View>),
DataType(Box<DataType>),
Method(Box<Method>),
}Expand description
The NodeType enum enumerates the different OPC-UA node classes.
Variants§
Object(Box<Object>)
Objects are general structural nodes without special meaning.
ObjectType(Box<ObjectType>)
Object types define properties of object nodes.
ReferenceType(Box<ReferenceType>)
Reference types define properties of references.
Variable(Box<Variable>)
Variables are nodes with a current value that can be stored historically.
VariableType(Box<VariableType>)
Variable types define properties of variable nodes.
View(Box<View>)
Views are pre-defined subsets of the address space.
DataType(Box<DataType>)
Data types define different types used by variables.
Method(Box<Method>)
Methods are nodes that can be called with the Call service.
Implementations§
Trait Implementations§
Source§impl From<ObjectType> for NodeType
impl From<ObjectType> for NodeType
Source§fn from(value: ObjectType) -> Self
fn from(value: ObjectType) -> Self
Converts to this type from the input type.
Source§impl From<ReferenceType> for NodeType
impl From<ReferenceType> for NodeType
Source§fn from(value: ReferenceType) -> Self
fn from(value: ReferenceType) -> Self
Converts to this type from the input type.
Source§impl From<VariableType> for NodeType
impl From<VariableType> for NodeType
Source§fn from(value: VariableType) -> Self
fn from(value: VariableType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NodeType
impl !RefUnwindSafe for NodeType
impl Send for NodeType
impl Sync for NodeType
impl Unpin for NodeType
impl UnsafeUnpin for NodeType
impl !UnwindSafe for NodeType
Blanket Implementations§
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