1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/// APICap defines a capability supported by the service #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApiCap { #[prost(string, tag="1")] pub id: std::string::String, #[prost(bool, tag="2")] pub enabled: bool, /// Unused. May be used for warnings in the future #[prost(bool, tag="3")] pub deprecated: bool, /// Reason key for detection code #[prost(string, tag="4")] pub disabled_reason: std::string::String, /// Message to the user #[prost(string, tag="5")] pub disabled_reason_msg: std::string::String, /// Identifier that updated client could catch. #[prost(string, tag="6")] pub disabled_alternative: std::string::String, }