Enum edgedb_protocol::value::Value
source · pub enum Value {
Show 30 variants
Nothing,
Uuid(Uuid),
Str(String),
Bytes(Bytes),
Int16(i16),
Int32(i32),
Int64(i64),
Float32(f32),
Float64(f64),
BigInt(BigInt),
ConfigMemory(ConfigMemory),
Decimal(Decimal),
Bool(bool),
Datetime(Datetime),
LocalDatetime(LocalDatetime),
LocalDate(LocalDate),
LocalTime(LocalTime),
Duration(Duration),
RelativeDuration(RelativeDuration),
DateDuration(DateDuration),
Json(Json),
Set(Vec<Value>),
Object {
shape: ObjectShape,
fields: Vec<Option<Value>>,
},
SparseObject(SparseObject),
Tuple(Vec<Value>),
NamedTuple {
shape: NamedTupleShape,
fields: Vec<Value>,
},
Array(Vec<Value>),
Vector(Vec<f32>),
Enum(EnumValue),
Range(Range<Box<Value>>),
}
Variants§
Nothing
Uuid(Uuid)
Str(String)
Bytes(Bytes)
Int16(i16)
Int32(i32)
Int64(i64)
Float32(f32)
Float64(f64)
BigInt(BigInt)
ConfigMemory(ConfigMemory)
Decimal(Decimal)
Bool(bool)
Datetime(Datetime)
LocalDatetime(LocalDatetime)
LocalDate(LocalDate)
LocalTime(LocalTime)
Duration(Duration)
RelativeDuration(RelativeDuration)
DateDuration(DateDuration)
Json(Json)
Set(Vec<Value>)
Object
SparseObject(SparseObject)
Tuple(Vec<Value>)
NamedTuple
Array(Vec<Value>)
Vector(Vec<f32>)
Enum(EnumValue)
Range(Range<Box<Value>>)
Implementations§
Trait Implementations§
source§impl From<LocalDatetime> for Value
impl From<LocalDatetime> for Value
source§fn from(v: LocalDatetime) -> Value
fn from(v: LocalDatetime) -> Value
Converts to this type from the input type.
source§impl PartialEq for Value
impl PartialEq for Value
source§impl QueryResult for Value
impl QueryResult for Value
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