pub struct FieldMetaData {
pub name: UAString,
pub description: LocalizedText,
pub field_flags: DataSetFieldFlags,
pub built_in_type: u8,
pub data_type: NodeId,
pub value_rank: i32,
pub array_dimensions: Option<Vec<u32>>,
pub max_string_length: u32,
pub data_set_field_id: Guid,
pub properties: Option<Vec<KeyValuePair>>,
}Fields§
§name: UAString§description: LocalizedText§field_flags: DataSetFieldFlags§built_in_type: u8§data_type: NodeId§value_rank: i32§array_dimensions: Option<Vec<u32>>§max_string_length: u32§data_set_field_id: Guid§properties: Option<Vec<KeyValuePair>>Trait Implementations§
Source§impl BinaryEncoder<FieldMetaData> for FieldMetaData
impl BinaryEncoder<FieldMetaData> for FieldMetaData
Source§fn byte_len(&self) -> usize
fn byte_len(&self) -> usize
Returns the exact byte length of the structure as it would be if
encode were called.
This may be called prior to writing to ensure the correct amount of space is available.Source§fn encode<S>(&self, stream: &mut S) -> Result<usize, StatusCode>where
S: Write,
fn encode<S>(&self, stream: &mut S) -> Result<usize, StatusCode>where
S: Write,
Encodes the instance to the write stream.
Source§fn decode<S>(
stream: &mut S,
decoding_options: &DecodingOptions,
) -> Result<FieldMetaData, StatusCode>where
S: Read,
fn decode<S>(
stream: &mut S,
decoding_options: &DecodingOptions,
) -> Result<FieldMetaData, StatusCode>where
S: Read,
Decodes an instance from the read stream. The decoding options contains restrictions set by
the server / client on the length of strings, arrays etc. If these limits are exceeded the
implementation should return with a
BadDecodingError as soon as possible.fn encode_to_vec(&self) -> Vec<u8> ⓘ
Source§impl Clone for FieldMetaData
impl Clone for FieldMetaData
Source§fn clone(&self) -> FieldMetaData
fn clone(&self) -> FieldMetaData
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 FieldMetaData
impl Debug for FieldMetaData
Source§impl MessageInfo for FieldMetaData
impl MessageInfo for FieldMetaData
Source§impl PartialEq for FieldMetaData
impl PartialEq for FieldMetaData
impl StructuralPartialEq for FieldMetaData
Auto Trait Implementations§
impl Freeze for FieldMetaData
impl RefUnwindSafe for FieldMetaData
impl Send for FieldMetaData
impl Sync for FieldMetaData
impl Unpin for FieldMetaData
impl UnwindSafe for FieldMetaData
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