xds_api/generated/
opencensus.proto.resource.v1.rs

1// This file is @generated by prost-build.
2/// Resource information.
3#[derive(Clone, PartialEq, ::prost::Message)]
4pub struct Resource {
5    /// Type identifier for the resource.
6    #[prost(string, tag = "1")]
7    pub r#type: ::prost::alloc::string::String,
8    /// Set of labels that describe the resource.
9    #[prost(map = "string, string", tag = "2")]
10    pub labels: ::std::collections::HashMap<
11        ::prost::alloc::string::String,
12        ::prost::alloc::string::String,
13    >,
14}
15impl ::prost::Name for Resource {
16    const NAME: &'static str = "Resource";
17    const PACKAGE: &'static str = "opencensus.proto.resource.v1";
18    fn full_name() -> ::prost::alloc::string::String {
19        "opencensus.proto.resource.v1.Resource".into()
20    }
21    fn type_url() -> ::prost::alloc::string::String {
22        "/opencensus.proto.resource.v1.Resource".into()
23    }
24}