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>
Implementations on Foreign Types
impl ProtobufValue for u32[src]
fn as_ref(&self) -> ProtobufValueRef[src]
fn as_any(&self) -> &Any[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]
impl ProtobufValue for u64[src]
fn as_ref(&self) -> ProtobufValueRef[src]
fn as_any(&self) -> &Any[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]
impl ProtobufValue for i32[src]
fn as_ref(&self) -> ProtobufValueRef[src]
fn as_any(&self) -> &Any[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]
impl ProtobufValue for i64[src]
fn as_ref(&self) -> ProtobufValueRef[src]
fn as_any(&self) -> &Any[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]
impl ProtobufValue for f32[src]
fn as_ref(&self) -> ProtobufValueRef[src]
fn as_any(&self) -> &Any[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]
impl ProtobufValue for f64[src]
fn as_ref(&self) -> ProtobufValueRef[src]
fn as_any(&self) -> &Any[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]
impl ProtobufValue for bool[src]
fn as_ref(&self) -> ProtobufValueRef[src]
fn as_any(&self) -> &Any[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]
impl ProtobufValue for String[src]
fn as_ref(&self) -> ProtobufValueRef[src]
fn as_any(&self) -> &Any[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]
impl ProtobufValue for str[src]
fn as_ref(&self) -> ProtobufValueRef[src]
fn as_any(&self) -> &Any[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]
impl ProtobufValue for Vec<u8>[src]
fn as_ref(&self) -> ProtobufValueRef[src]
fn as_any(&self) -> &Any[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]
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 Anyimpl ProtobufValue for Apiimpl ProtobufValue for Methodimpl ProtobufValue for Mixinimpl ProtobufValue for Durationimpl ProtobufValue for Emptyimpl ProtobufValue for FieldMaskimpl ProtobufValue for SourceContextimpl ProtobufValue for Structimpl ProtobufValue for Valueimpl ProtobufValue for ListValueimpl ProtobufValue for NullValueimpl ProtobufValue for Timestampimpl ProtobufValue for Typeimpl ProtobufValue for Fieldimpl ProtobufValue for Field_Kindimpl ProtobufValue for Field_Cardinalityimpl ProtobufValue for Enumimpl ProtobufValue for EnumValueimpl ProtobufValue for Optionimpl ProtobufValue for Syntaximpl ProtobufValue for DoubleValueimpl ProtobufValue for FloatValueimpl ProtobufValue for Int64Valueimpl ProtobufValue for UInt64Valueimpl ProtobufValue for Int32Valueimpl ProtobufValue for UInt32Valueimpl ProtobufValue for BoolValueimpl ProtobufValue for StringValueimpl ProtobufValue for BytesValue