Enum protobuf::reflect::ReflectValueRef [−][src]
pub enum ReflectValueRef<'a> {
U32(u32),
U64(u64),
I32(i32),
I64(i64),
F32(f32),
F64(f64),
Bool(bool),
String(&'a str),
Bytes(&'a [u8]),
Enum(&'static EnumValueDescriptor),
Message(&'a dyn Message),
}
Expand description
A reference to a value
Variants
u32
Tuple Fields of U32
0: u32
u64
Tuple Fields of U64
0: u64
i32
Tuple Fields of I32
0: i32
i64
Tuple Fields of I64
0: i64
f32
Tuple Fields of F32
0: f32
f64
Tuple Fields of F64
0: f64
bool
Tuple Fields of Bool
0: bool
string
Tuple Fields of String
0: &'a str
bytes
enum
Tuple Fields of Enum
0: &'static EnumValueDescriptor
message
Tuple Fields of Message
0: &'a dyn Message