vitess_grpc/generated/
tableacl.rs

1/// TableGroupSpec defines ACLs for a group of tables.
2#[allow(clippy::derive_partial_eq_without_eq)]
3#[derive(Clone, PartialEq, ::prost::Message)]
4pub struct TableGroupSpec {
5    #[prost(string, tag = "1")]
6    pub name: ::prost::alloc::string::String,
7    /// either tables or a table name prefixes (if it ends in a %)
8    #[prost(string, repeated, tag = "2")]
9    pub table_names_or_prefixes: ::prost::alloc::vec::Vec<
10        ::prost::alloc::string::String,
11    >,
12    #[prost(string, repeated, tag = "3")]
13    pub readers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
14    #[prost(string, repeated, tag = "4")]
15    pub writers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
16    #[prost(string, repeated, tag = "5")]
17    pub admins: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
18}
19#[allow(clippy::derive_partial_eq_without_eq)]
20#[derive(Clone, PartialEq, ::prost::Message)]
21pub struct Config {
22    #[prost(message, repeated, tag = "1")]
23    pub table_groups: ::prost::alloc::vec::Vec<TableGroupSpec>,
24}