Skip to main content

ripestat_common/resources/
whois_object_last_updated.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
4pub struct WhoisObjectLastUpdatedRequest {
5    pub object: String,
6    #[serde(rename = "type")]
7    pub object_type: String,
8    pub source: String,
9    pub timestamp: Option<String>,
10    pub compare_with_live: Option<bool>,
11}
12
13#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
14pub struct WhoisObjectLastUpdatedResponse {
15    pub field: String,
16}
17
18// TODO: maint
19// https://stat.ripe.net/docs/02.data-api/whois-object-last-updated.html