Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
chore: Enable de/serialization in GatewayJob
Browse files Browse the repository at this point in the history
  • Loading branch information
jsantell committed Apr 10, 2024
1 parent 1258a74 commit cf9ca25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rust/noosphere-gateway/src/jobs/job.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
use serde::{Deserialize, Serialize};
use noosphere_core::data::{Did, Link, LinkRecord, MemoIpld};

/// Various tasks that are performed by a job runner.
/// All jobs are scoped by an `identity` [Did], the
/// counterpart client sphere.
#[derive(Debug, Clone)]
#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(tag = "type")]
pub enum GatewayJob {
/// Compact history for the sphere.
CompactHistory {
Expand Down

0 comments on commit cf9ca25

Please sign in to comment.