Enum opcua_server::prelude::VariantTypeId
source · pub enum VariantTypeId {
Show 26 variants
Empty,
Boolean,
SByte,
Byte,
Int16,
UInt16,
Int32,
UInt32,
Int64,
UInt64,
Float,
Double,
String,
DateTime,
Guid,
StatusCode,
ByteString,
XmlElement,
QualifiedName,
LocalizedText,
NodeId,
ExpandedNodeId,
ExtensionObject,
DataValue,
Array,
MultiDimensionArray,
}Expand description
The variant type id is the type of the variant but without its payload.
Variants§
Empty
Boolean
SByte
Byte
Int16
UInt16
Int32
UInt32
Int64
UInt64
Float
Double
String
DateTime
Guid
StatusCode
ByteString
XmlElement
QualifiedName
LocalizedText
NodeId
ExpandedNodeId
ExtensionObject
DataValue
Array
MultiDimensionArray
Implementations§
source§impl VariantTypeId
impl VariantTypeId
sourcepub fn is_numeric(&self) -> bool
pub fn is_numeric(&self) -> bool
Tests and returns true if the variant holds a numeric type
Trait Implementations§
source§impl Clone for VariantTypeId
impl Clone for VariantTypeId
source§fn clone(&self) -> VariantTypeId
fn clone(&self) -> VariantTypeId
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 more