Struct interchange::protobuf::DecodedDescriptors [−][src]
pub struct DecodedDescriptors {
message_descriptor: MessageDescriptor,
columns: Vec<(ColumnName, ColumnType)>,
message_name: String,
}
Expand description
A decoded description of the schema of a Protobuf message.
Fields
message_descriptor: MessageDescriptor
columns: Vec<(ColumnName, ColumnType)>
message_name: String
Implementations
Builds a DecodedDescriptors
from an encoded FileDescriptorSet
and
the fully qualified name of a message inside that file descriptor set.
Describes the columns in the message.
In other words, the return value describes the shape of the rows that
will be produced by a Decoder
constructed from this
DecodedDescriptors
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DecodedDescriptors
impl Send for DecodedDescriptors
impl Sync for DecodedDescriptors
impl Unpin for DecodedDescriptors
impl UnwindSafe for DecodedDescriptors
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more