render_api/model/
deploy_cursor.rs

1
2use serde::{Serialize, Deserialize};
3use super::Deploy;
4#[derive(Debug, Clone, Serialize, Deserialize)]
5pub struct DeployCursor {
6    pub cursor: String,
7    pub deploy: Deploy,
8}
9impl std::fmt::Display for DeployCursor {
10    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
11        write!(f, "{}", serde_json::to_string(self).unwrap())
12    }
13}