This commit is contained in:
Christian Schwarz
2023-12-13 12:02:58 +00:00
parent b3c811731a
commit d5bb030ea1
7 changed files with 197 additions and 44 deletions

View File

@@ -375,6 +375,14 @@ pub struct TenantInfo {
pub generation: Option<u32>,
}
#[derive(Serialize, Deserialize, Clone)]
pub struct TenantDetails {
#[serde(flatten)]
pub tenant_info: TenantInfo,
pub timelines: Vec<TimelineId>,
}
/// This represents the output of the "timeline_detail" and "timeline_list" API calls.
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct TimelineInfo {