Struct opcua_types::LocalizedText [] [src]

pub struct LocalizedText {
    pub locale: UAString,
    pub text: UAString,
}

Human readable text with an optional locale identifier Data type ID 21

Fields

The locale. Omitted from stream if null or empty

The text in the specified locale. Omitted frmo stream if null or empty.

Methods

impl LocalizedText
[src]

Trait Implementations

impl PartialEq for LocalizedText
[src]

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

This method tests for !=.

impl Debug for LocalizedText
[src]

Formats the value using the given formatter.

impl Clone for LocalizedText
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl BinaryEncoder<LocalizedText> for LocalizedText
[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.