Struct opcua_types::node_id::NodeId [−][src]
pub struct NodeId {
pub namespace: u16,
pub identifier: Identifier,
}Expand description
An identifier for a node in the address space of an OPC UA Server.
Fields
namespace: u16The index for a namespace
identifier: IdentifierThe identifier for the node in the address space
Implementations
Returns the node id for the root folder.
Returns the node id for the objects folder.
Returns the node id for the types folder.
Returns the node id for the views folder.
Extracts an ObjectId from a node id, providing the node id holds an object id
Test if the node id is numeric
Test if the node id us a byte string
Trait Implementations
Returns the exact byte length of the structure as it would be if encode were called.
This may be called prior to writing to ensure the correct amount of space is available. Read more
Encodes the instance to the write stream.
Decodes an instance from the read stream. The decoding limits are restrictions set by the server / client
on the length of strings, arrays etc. If these limits are exceeded the implementation should
return with a BadDecodingError as soon as possible. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for NodeId
impl UnwindSafe for NodeId
Blanket Implementations
Mutably borrows from an owned value. Read more