backend/model/enum/
include_archived_seeds.rs

1//! [`IncludeArchivedSeeds`] enum.
2
3use serde::{Deserialize, Serialize};
4use typeshare::typeshare;
5
6/// Indicates whether archived seeds should be returned in a seed query.
7#[typeshare]
8#[derive(Serialize, Deserialize, Debug, PartialEq, Eq)]
9pub enum IncludeArchivedSeeds {
10    #[serde(rename = "not_archived")]
11    /// Return only seeds that have not been archived.
12    NotArchived,
13    #[serde(rename = "archived")]
14    /// Return only archived seeds.
15    Archived,
16    #[serde(rename = "both")]
17    /// Return all seeds
18    Both,
19}