xds-api 0.2.0

Protocol buffer types for working with Envoy's xDS APIs.
Documentation
// This file is @generated by prost-build.
/// Resource information.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Resource {
    /// Type identifier for the resource.
    #[prost(string, tag = "1")]
    pub r#type: ::prost::alloc::string::String,
    /// Set of labels that describe the resource.
    #[prost(map = "string, string", tag = "2")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
impl ::prost::Name for Resource {
    const NAME: &'static str = "Resource";
    const PACKAGE: &'static str = "opencensus.proto.resource.v1";
    fn full_name() -> ::prost::alloc::string::String {
        "opencensus.proto.resource.v1.Resource".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/opencensus.proto.resource.v1.Resource".into()
    }
}