pub enum Value {
Null,
Bool(bool),
Int(i64),
Float(f64),
String(String),
Json(Value),
Blob(BlobRef),
}Expand description
A literal value.
Supports primitives (null, bool, int, float, string), structured JSON data (arrays and objects), and binary blob references.
Variants§
Null
Bool(bool)
Int(i64)
Float(f64)
String(String)
Json(Value)
Structured JSON data (arrays, objects, nested structures).
Use jq to query/extract values.
Blob(BlobRef)
Reference to binary data stored in the virtual filesystem.
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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