google_cloudevents/google/events/
mod.rs

1// This file is @generated by prost-build.
2/// Description of an extension attribute.
3#[derive(serde::Serialize, serde::Deserialize)]
4#[serde(default)]
5#[serde(rename_all = "snake_case")]
6#[derive(Clone, PartialEq, ::prost::Message)]
7pub struct ExtensionAttribute {
8    /// Name of the CloudEvents attribute, e.g. "topic".
9    /// This must be all lower-case, to satisfy CloudEvent requirements.
10    #[prost(string, tag = "1")]
11    pub name: ::prost::alloc::string::String,
12    /// Description of the attribute.
13    #[prost(string, tag = "2")]
14    pub description: ::prost::alloc::string::String,
15    /// The name of the CloudEvents attribute in lower Camel case, e.g. "firebaseDatabaseHost".
16    /// This only needs to be populated if the name would otherwise be mis-represented.
17    #[prost(string, tag = "3")]
18    pub camel_case_name: ::prost::alloc::string::String,
19}