Struct opcua_server::prelude::DecodingLimits
source · pub struct DecodingLimits {
pub max_string_length: u32,
pub max_byte_string_length: u32,
pub max_array_length: u32,
}Fields§
§max_string_length: u32Maximum length in bytes (not chars!) of a string. 0 actually means 0, i.e. no string permitted
max_byte_string_length: u32Maximum length in bytes of a byte string. 0 actually means 0, i.e. no byte string permitted
max_array_length: u32Maximum number of array elements. 0 actually means 0, i.e. no array permitted
Implementations§
source§impl DecodingLimits
impl DecodingLimits
sourcepub fn minimal() -> DecodingLimits
pub fn minimal() -> DecodingLimits
This can be useful for decoding extension objects where the payload is not expected to contain any string or array.
Trait Implementations§
source§impl Clone for DecodingLimits
impl Clone for DecodingLimits
source§fn clone(&self) -> DecodingLimits
fn clone(&self) -> DecodingLimits
Returns a copy 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 DecodingLimits
impl Debug for DecodingLimits
source§impl Default for DecodingLimits
impl Default for DecodingLimits
source§fn default() -> DecodingLimits
fn default() -> DecodingLimits
Returns the “default value” for a type. Read more