vortex_proto/generated/
vortex.scalar.rs1#[derive(Clone, PartialEq, ::prost::Message)]
3pub struct Scalar {
4 #[prost(message, optional, tag = "1")]
5 pub dtype: ::core::option::Option<super::dtype::DType>,
6 #[prost(message, optional, tag = "2")]
7 pub value: ::core::option::Option<ScalarValue>,
8}
9#[derive(Clone, PartialEq, ::prost::Message)]
10pub struct ScalarValue {
11 #[prost(oneof = "scalar_value::Kind", tags = "1, 2, 3, 4, 5, 6, 7, 8, 9, 10")]
12 pub kind: ::core::option::Option<scalar_value::Kind>,
13}
14pub mod scalar_value {
16 #[derive(Clone, PartialEq, ::prost::Oneof)]
17 pub enum Kind {
18 #[prost(enumeration = "::prost_types::NullValue", tag = "1")]
19 NullValue(i32),
20 #[prost(bool, tag = "2")]
21 BoolValue(bool),
22 #[prost(sint64, tag = "3")]
23 Int64Value(i64),
24 #[prost(uint64, tag = "4")]
25 Uint64Value(u64),
26 #[prost(float, tag = "5")]
27 F32Value(f32),
28 #[prost(double, tag = "6")]
29 F64Value(f64),
30 #[prost(string, tag = "7")]
31 StringValue(::prost::alloc::string::String),
32 #[prost(bytes, tag = "8")]
33 BytesValue(::prost::alloc::vec::Vec<u8>),
34 #[prost(message, tag = "9")]
35 ListValue(super::ListValue),
36 #[prost(uint64, tag = "10")]
37 F16Value(u64),
38 }
39}
40#[derive(Clone, PartialEq, ::prost::Message)]
41pub struct ListValue {
42 #[prost(message, repeated, tag = "1")]
43 pub values: ::prost::alloc::vec::Vec<ScalarValue>,
44}