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 FileDescriptorSet
impl ProtobufValue for FileDescriptorProto
impl ProtobufValue for DescriptorProto
impl ProtobufValue for DescriptorProto_ExtensionRange
impl ProtobufValue for DescriptorProto_ReservedRange
impl ProtobufValue for FieldDescriptorProto
impl ProtobufValue for FieldDescriptorProto_Type
impl ProtobufValue for FieldDescriptorProto_Label
impl ProtobufValue for OneofDescriptorProto
impl ProtobufValue for EnumDescriptorProto
impl ProtobufValue for EnumValueDescriptorProto
impl ProtobufValue for ServiceDescriptorProto
impl ProtobufValue for MethodDescriptorProto
impl ProtobufValue for FileOptions
impl ProtobufValue for FileOptions_OptimizeMode
impl ProtobufValue for MessageOptions
impl ProtobufValue for FieldOptions
impl ProtobufValue for FieldOptions_CType
impl ProtobufValue for FieldOptions_JSType
impl ProtobufValue for OneofOptions
impl ProtobufValue for EnumOptions
impl ProtobufValue for EnumValueOptions
impl ProtobufValue for ServiceOptions
impl ProtobufValue for MethodOptions
impl ProtobufValue for UninterpretedOption
impl ProtobufValue for UninterpretedOption_NamePart
impl ProtobufValue for SourceCodeInfo
impl ProtobufValue for SourceCodeInfo_Location
impl ProtobufValue for GeneratedCodeInfo
impl ProtobufValue for GeneratedCodeInfo_Annotation
impl ProtobufValue for CodeGeneratorRequest
impl ProtobufValue for CodeGeneratorResponse
impl ProtobufValue for CodeGeneratorResponse_File
impl ProtobufValue for Any
impl ProtobufValue for Api
impl ProtobufValue for Method
impl ProtobufValue for Mixin
impl ProtobufValue for Duration
impl ProtobufValue for Empty
impl ProtobufValue for FieldMask
impl ProtobufValue for SourceContext
impl ProtobufValue for Struct
impl ProtobufValue for Value
impl ProtobufValue for ListValue
impl ProtobufValue for NullValue
impl ProtobufValue for Timestamp
impl ProtobufValue for Type
impl ProtobufValue for Field
impl ProtobufValue for Field_Kind
impl ProtobufValue for Field_Cardinality
impl ProtobufValue for Enum
impl ProtobufValue for EnumValue
impl ProtobufValue for Option
impl ProtobufValue for Syntax
impl ProtobufValue for DoubleValue
impl ProtobufValue for FloatValue
impl ProtobufValue for Int64Value
impl ProtobufValue for UInt64Value
impl ProtobufValue for Int32Value
impl ProtobufValue for UInt32Value
impl ProtobufValue for BoolValue
impl ProtobufValue for StringValue
impl ProtobufValue for BytesValue