INNER CODE UNIT · Rust
create_scope
Symph0nia/CyberEdge · src/repository/mod.rs:105
async fn create_scope(
&self,
mutation: &Mutation,
scope: Scope,
) -> Result<MutationResult<Scope>, RepositoryError>;
async fn get_scope(&self, scope_id: &str) -> Result<Scope, RepositoryError>;
async fn create_task(
&self,
mutation: &Mutation,
task: Task,
event: TaskEvent,
) -> Result<MutationResult<Task>, RepositoryError>;
async fn get_task(&self, task_id: &str) -> Result<Task, RepositoryError>;
async fn create_schedule(