nominal_api/proto/
nominal.scout.elements.v1.rs

1// This file is @generated by prost-build.
2#[derive(Clone, PartialEq, ::prost::Message)]
3pub struct Symbol {
4    #[prost(oneof = "symbol::Symbol", tags = "1, 2, 3")]
5    pub symbol: ::core::option::Option<symbol::Symbol>,
6}
7/// Nested message and enum types in `Symbol`.
8pub mod symbol {
9    #[derive(Clone, PartialEq, ::prost::Oneof)]
10    pub enum Symbol {
11        /// Icon name (e.g. castle)
12        #[prost(string, tag = "1")]
13        Icon(::prost::alloc::string::String),
14        /// Emoji name (e.g. :castle:)
15        #[prost(string, tag = "2")]
16        Emoji(::prost::alloc::string::String),
17        /// Image url (e.g. <https://example.com/image.png>)
18        #[prost(string, tag = "3")]
19        Image(::prost::alloc::string::String),
20    }
21}
22#[derive(Clone, PartialEq, ::prost::Message)]
23pub struct Color {
24    #[prost(oneof = "color::Color", tags = "1")]
25    pub color: ::core::option::Option<color::Color>,
26}
27/// Nested message and enum types in `Color`.
28pub mod color {
29    #[derive(Clone, PartialEq, ::prost::Oneof)]
30    pub enum Color {
31        /// hex color
32        #[prost(string, tag = "1")]
33        HexCode(::prost::alloc::string::String),
34    }
35}