ScalarValue
struct ScalarValueOne decoded statistic, or one predicate literal.
Implements Copyable, Defaultable, Movable, Writable
- Fields
kind: Inti: Int64u: UInt64f: Float64b: List[UInt8]
__init__
def __init__(out self) of_int
def of_int(v: Int64) -> Self of_uint
def of_uint(v: UInt64) -> Self of_float
def of_float(v: Float64) -> Self of_bool
def of_bool(v: Bool) -> Self of_bytes
def of_bytes(data: Span[UInt8]) -> Self of_string
def of_string(text: StringSpan) -> Self as_string
def as_string(self) -> String write_to
def write_to(self, mut writer: T)