Struct opcua_types::NodeId [] [src]

pub struct NodeId {
    pub namespace: UInt16,
    pub identifier: Identifier,
}

An identifier for a node in the address space of an OPC UA Server.

Fields

The index for a namespace

The identifier for the node in the address space

Methods

impl NodeId
[src]

Returns a null node id

Extracts an ObjectId from a node id, providing the node id holds an object id

Construct a numeric node id

Construct a string node id

Construct a guid node id

Construct a bytestring node id

Test if the node id is null, i.e. 0 namespace and 0 identifier

Test if the node id is numeric

Test if the node id is a string

Test if the node id is a guid

Test if the node id us a byte string

Trait Implementations

impl PartialEq for NodeId
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for NodeId
[src]

impl Clone for NodeId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NodeId
[src]

Formats the value using the given formatter.

impl Hash for NodeId
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl BinaryEncoder<NodeId> for NodeId
[src]

Returns the byte length of the structure. This calculation should be exact and as efficient as possible. Read more

Encodes the instance to the write stream.

Decodes an instance from the read stream.

impl FromStr for NodeId
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more