Struct opcua_types::DiagnosticInfo
[−]
[src]
pub struct DiagnosticInfo { pub symbolic_id: Option<Int32>, pub namespace_uri: Option<Int32>, pub locale: Option<Int32>, pub localized_text: Option<Int32>, pub additional_info: Option<UAString>, pub inner_status_code: Option<StatusCode>, pub inner_diagnostic_info: Option<Box<DiagnosticInfo>>, }
Data type ID 25
Fields
symbolic_id: Option<Int32>
A symbolic name for the status code.
namespace_uri: Option<Int32>
A namespace that qualifies the symbolic id.
locale: Option<Int32>
The locale used for the localized text.
localized_text: Option<Int32>
A human readable summary of the status code.
additional_info: Option<UAString>
Detailed application specific diagnostic information.
inner_status_code: Option<StatusCode>
A status code provided by an underlying system.
inner_diagnostic_info: Option<Box<DiagnosticInfo>>
Diagnostic info associated with the inner status code.
Methods
impl DiagnosticInfo
[src]
fn new() -> DiagnosticInfo
fn encoding_mask(&self) -> u8
Trait Implementations
impl PartialEq for DiagnosticInfo
[src]
fn eq(&self, __arg_0: &DiagnosticInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DiagnosticInfo) -> bool
This method tests for !=
.
impl Debug for DiagnosticInfo
[src]
impl Clone for DiagnosticInfo
[src]
fn clone(&self) -> DiagnosticInfo
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<DiagnosticInfo> for DiagnosticInfo
[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.