Add `Scope` enum
This change adds a `Scope` enumeration to the `rest_api` module. This
is used by the REST API to validate incoming requests.
mod error;
pub use error::GriddleRestApiServerError;
+
+#[derive(Clone, Debug, PartialEq)]
+/// Indicates the service scope intended for incoming requests and is used by the REST API to
+/// validate requests.
+pub enum Scope {
+ Global,
+ Service,
+}
