Trait protobuf::reflect::ProtobufValue
[−]
[src]
pub trait ProtobufValue: Any + 'static {
fn as_ref(&self) -> ProtobufValueRef;
fn as_any(&self) -> &Any { ... }
fn is_non_zero(&self) -> bool { ... }
fn as_ref_copy(&self) -> ProtobufValueRef<'static> { ... }
}
Required Methods
fn as_ref(&self) -> ProtobufValueRef
Provided Methods
fn as_any(&self) -> &Any
fn is_non_zero(&self) -> bool
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
Implementors
impl ProtobufValue for FileDescriptorSetimpl ProtobufValue for FileDescriptorProtoimpl ProtobufValue for DescriptorProtoimpl ProtobufValue for DescriptorProto_ExtensionRangeimpl ProtobufValue for DescriptorProto_ReservedRangeimpl ProtobufValue for FieldDescriptorProtoimpl ProtobufValue for FieldDescriptorProto_Typeimpl ProtobufValue for FieldDescriptorProto_Labelimpl ProtobufValue for OneofDescriptorProtoimpl ProtobufValue for EnumDescriptorProtoimpl ProtobufValue for EnumValueDescriptorProtoimpl ProtobufValue for ServiceDescriptorProtoimpl ProtobufValue for MethodDescriptorProtoimpl ProtobufValue for FileOptionsimpl ProtobufValue for FileOptions_OptimizeModeimpl ProtobufValue for MessageOptionsimpl ProtobufValue for FieldOptionsimpl ProtobufValue for FieldOptions_CTypeimpl ProtobufValue for FieldOptions_JSTypeimpl ProtobufValue for OneofOptionsimpl ProtobufValue for EnumOptionsimpl ProtobufValue for EnumValueOptionsimpl ProtobufValue for ServiceOptionsimpl ProtobufValue for MethodOptionsimpl ProtobufValue for UninterpretedOptionimpl ProtobufValue for UninterpretedOption_NamePartimpl ProtobufValue for SourceCodeInfoimpl ProtobufValue for SourceCodeInfo_Locationimpl ProtobufValue for GeneratedCodeInfoimpl ProtobufValue for GeneratedCodeInfo_Annotationimpl ProtobufValue for CodeGeneratorRequestimpl ProtobufValue for CodeGeneratorResponseimpl ProtobufValue for CodeGeneratorResponse_Fileimpl ProtobufValue for u32impl ProtobufValue for u64impl ProtobufValue for i32impl ProtobufValue for i64impl ProtobufValue for f32impl ProtobufValue for f64impl ProtobufValue for boolimpl ProtobufValue for Stringimpl ProtobufValue for strimpl ProtobufValue for Vec<u8>