Struct qt_core::q_json_value::Type
source · pub struct Type(/* private fields */);
Expand description
This enum describes the type of the JSON value.
C++ enum: QJsonValue::Type
.
This enum describes the type of the JSON value.
Implementations§
source§impl Type
impl Type
sourcepub const Bool: Type = _
pub const Bool: Type = _
A boolean value. Use toBool() to convert to a bool. (C++ enum variant: Bool = 1
)
sourcepub const Double: Type = _
pub const Double: Type = _
A double. Use toDouble() to convert to a double. (C++ enum variant: Double = 2
)
sourcepub const Array: Type = _
pub const Array: Type = _
An array. Use toArray() to convert to a QJsonArray. (C++ enum variant: Array = 4
)
sourcepub const Object: Type = _
pub const Object: Type = _
An object. Use toObject() to convert to a QJsonObject. (C++ enum variant: Object = 5
)
Trait Implementations§
source§impl PartialEq for Type
impl PartialEq for Type
impl Copy for Type
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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