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§
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
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