Struct prost_types::DescriptorProto [−][src]
Describes a message type.
Fields
name: Option<String>
field: Vec<FieldDescriptorProto>
extension: Vec<FieldDescriptorProto>
nested_type: Vec<DescriptorProto>
enum_type: Vec<EnumDescriptorProto>
extension_range: Vec<ExtensionRange>
oneof_decl: Vec<OneofDescriptorProto>
options: Option<MessageOptions>
reserved_range: Vec<ReservedRange>
reserved_name: Vec<String>
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
Implementations
impl DescriptorProto
[src][−]
Trait Implementations
impl Clone for DescriptorProto
[src][+]
impl Debug for DescriptorProto
[src][+]
impl Default for DescriptorProto
[src][+]
impl Message for DescriptorProto
[src][+]
impl PartialEq<DescriptorProto> for DescriptorProto
[src][+]
impl StructuralPartialEq for DescriptorProto
[src]
Auto Trait Implementations
impl RefUnwindSafe for DescriptorProto
impl Send for DescriptorProto
impl Sync for DescriptorProto
impl Unpin for DescriptorProto
impl UnwindSafe for DescriptorProto
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,