Struct qt_core::q_cbor_value::Type
source · pub struct Type(/* private fields */);
Expand description
This enum represents the QCborValue type. It is returned by the type() function.
C++ enum: QCborValue::Type
.
This enum represents the QCborValue type. It is returned by the type() function.
The CBOR built-in types are:
Additionally, QCborValue can represent extended types:
See also type().
Implementations§
source§impl Type
impl Type
sourcepub const ByteArray: Type = _
pub const ByteArray: Type = _
QByteArray: a byte array (“byte string”) (C++ enum variant: ByteArray = 64
)
sourcepub const String: Type = _
pub const String: Type = _
QString: a Unicode string (“text string”) (C++ enum variant: String = 96
)
sourcepub const Array: Type = _
pub const Array: Type = _
QCborArray: an array of QCborValues (C++ enum variant: Array = 128
)
sourcepub const Map: Type = _
pub const Map: Type = _
QCborMap: an associative container of QCborValues (C++ enum variant: Map = 160
)
sourcepub const Tag: Type = _
pub const Tag: Type = _
An unknown or unrecognized extended type, represented by its tag (a QCborTag) and the tagged value (a QCborValue) (C++ enum variant: Tag = 192
)
sourcepub const SimpleType: Type = _
pub const SimpleType: Type = _
QCborSimpleType: one of several simple types/values (C++ enum variant: SimpleType = 256
)
sourcepub const False: Type = _
pub const False: Type = _
bool
: the simple type for value false
(C++ enum variant: False = 276
)
sourcepub const Null: Type = _
pub const Null: Type = _
std::nullptr_t
: the simple type for the null value (C++ enum variant: Null = 278
)
sourcepub const Undefined: Type = _
pub const Undefined: Type = _
(no type) the simple type for the undefined value (C++ enum variant: Undefined = 279
)
sourcepub const Double: Type = _
pub const Double: Type = _
double
: a double-precision floating point (C++ enum variant: Double = 514
)
sourcepub const DateTime: Type = _
pub const DateTime: Type = _
QDateTime: a date and time stamp (C++ enum variant: DateTime = 65536
)
sourcepub const RegularExpression: Type = _
pub const RegularExpression: Type = _
QRegularExpression: the pattern of a regular expression (C++ enum variant: RegularExpression = 65571
)