MCPcopy Create free account
hub / github.com/apache/arrow-rs / Any

Class Any

arrow-flight/src/sql/mod.rs:290–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288/// [oneof]: https://developers.google.com/protocol-buffers/docs/proto3#oneof
289#[derive(Clone, PartialEq, ::prost::Message)]
290pub struct Any {
291 /// A URL/resource name that uniquely identifies the type of the serialized
292 /// protocol buffer message. This string must contain at least
293 /// one "/" character. The last segment of the URL's path must represent
294 /// the fully qualified name of the type (as in
295 /// `path/google.protobuf.Duration`). The name should be in a canonical form
296 /// (e.g., leading "." is not accepted).
297 #[prost(string, tag = "1")]
298 pub type_url: String,
299 /// Must be a valid serialized protocol buffer of the above specified type.
300 #[prost(bytes = "bytes", tag = "2")]
301 pub value: Bytes,
302}
303
304impl Any {
305 /// Checks whether the message is of type `M`

Callers 6

defaultMethod · 0.85
buildMethod · 0.85
build_readerMethod · 0.85
build_parserMethod · 0.85

Calls

no outgoing calls