INNER CODE UNIT · Rust
get_scope
Symph0nia/CyberEdge · src/repository/mod.rs:111
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(
&self,
mutation: &Mutation,
schedule: Schedule,
) -> Result<MutationResult<Schedule>, RepositoryError>;
async fn search_schedules(&self, scope_id: &str) -> Result<Vec<Schedule>, RepositoryError>;