Struct protobuf::reflect::MessageDescriptor
[−]
[src]
pub struct MessageDescriptor { /* fields omitted */ }
Methods
impl MessageDescriptor
[src]
fn for_type<M: MessageStatic>() -> &'static MessageDescriptor
fn new<M: 'static + Message + Default>(rust_name: &'static str,
fields: Vec<Box<FieldAccessor + 'static>>,
file: &'static FileDescriptorProto)
-> MessageDescriptor
fields: Vec<Box<FieldAccessor + 'static>>,
file: &'static FileDescriptorProto)
-> MessageDescriptor