Struct opcua_types::ExpandedNodeId
[−]
[src]
pub struct ExpandedNodeId { pub node_id: NodeId, pub namespace_uri: UAString, pub server_index: UInt32, }
A NodeId that allows the namespace URI to be specified instead of an index. Data type ID 18
Fields
node_id: NodeId
namespace_uri: UAString
server_index: UInt32
Methods
impl ExpandedNodeId
[src]
fn new(node_id: &NodeId) -> ExpandedNodeId
Creates an expanded node id from a node id
fn null() -> ExpandedNodeId
fn is_null(&self) -> bool
Trait Implementations
impl PartialEq for ExpandedNodeId
[src]
fn eq(&self, __arg_0: &ExpandedNodeId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ExpandedNodeId) -> bool
This method tests for !=
.
impl Debug for ExpandedNodeId
[src]
impl Clone for ExpandedNodeId
[src]
fn clone(&self) -> ExpandedNodeId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl BinaryEncoder<ExpandedNodeId> for ExpandedNodeId
[src]
fn byte_len(&self) -> usize
Returns the byte length of the structure. This calculation should be exact and as efficient as possible. Read more
fn encode<S: Write>(&self, stream: &mut S) -> EncodingResult<usize>
Encodes the instance to the write stream.
fn decode<S: Read>(stream: &mut S) -> EncodingResult<Self>
Decodes an instance from the read stream.