cronback_api_model/
ids.rs

1#![cfg(not(feature = "dto"))]
2
3use derive_more::{Deref, Display, From, Into};
4use serde::{Deserialize, Serialize};
5
6#[derive(
7    Debug,
8    From,
9    Into,
10    Display,
11    Clone,
12    Serialize,
13    Deserialize,
14    PartialEq,
15    Hash,
16    Deref,
17)]
18pub struct AttemptId(String);
19
20#[derive(
21    Debug,
22    From,
23    Into,
24    Display,
25    Clone,
26    Serialize,
27    Deserialize,
28    PartialEq,
29    Hash,
30    Deref,
31)]
32pub struct RunId(String);
33
34#[derive(
35    Debug,
36    From,
37    Into,
38    Display,
39    Clone,
40    Serialize,
41    Deserialize,
42    PartialEq,
43    Hash,
44    Deref,
45)]
46pub struct TriggerId(String);