backstage-client 0.1.4

A Rust client library for interacting with the Backstage Catalog API. Provides type-safe access to Backstage entities with async support, filtering, and comprehensive error handling.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::entities::common::{Metadata, Relation};
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct DomainEntity {
    pub api_version: Option<String>,
    pub metadata: Metadata,
    pub spec: DomainSpec,
    pub relations: Vec<Relation>,
}

#[derive(Debug, Serialize, Deserialize)]
pub struct DomainSpec {
    pub owner: String,
}