pub struct OpcUaTraversalConfig {
pub root_nodes: Vec<OpcNode>,
pub skip_nodes: Vec<OpcNode>,
pub reference_exploration_type: i32,
}
Fields§
§root_nodes: Vec<OpcNode>
Root nodes to subscribe to. For each node specified here, we will subscribe to that node and all of its children.
skip_nodes: Vec<OpcNode>
We will not subscribe to any of these nodes.
reference_exploration_type: i32
The type of references that we will follow when traversing the root nodes in the OPC UA server.
Implementations§
Source§impl OpcUaTraversalConfig
impl OpcUaTraversalConfig
Sourcepub fn reference_exploration_type(&self) -> OpcUaReferenceExplorationType
pub fn reference_exploration_type(&self) -> OpcUaReferenceExplorationType
Returns the enum value of reference_exploration_type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_reference_exploration_type(
&mut self,
value: OpcUaReferenceExplorationType,
)
pub fn set_reference_exploration_type( &mut self, value: OpcUaReferenceExplorationType, )
Sets reference_exploration_type
to the provided enum value.
Trait Implementations§
Source§impl Clone for OpcUaTraversalConfig
impl Clone for OpcUaTraversalConfig
Source§fn clone(&self) -> OpcUaTraversalConfig
fn clone(&self) -> OpcUaTraversalConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OpcUaTraversalConfig
impl Debug for OpcUaTraversalConfig
Source§impl Default for OpcUaTraversalConfig
impl Default for OpcUaTraversalConfig
Source§impl Message for OpcUaTraversalConfig
impl Message for OpcUaTraversalConfig
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for OpcUaTraversalConfig
impl PartialEq for OpcUaTraversalConfig
impl StructuralPartialEq for OpcUaTraversalConfig
Auto Trait Implementations§
impl Freeze for OpcUaTraversalConfig
impl RefUnwindSafe for OpcUaTraversalConfig
impl Send for OpcUaTraversalConfig
impl Sync for OpcUaTraversalConfig
impl Unpin for OpcUaTraversalConfig
impl UnwindSafe for OpcUaTraversalConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request