fc-common: format

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I946272ee6563f5bca0844c5a25ba08f66a6a6964
This commit is contained in:
raf 2026-02-18 11:30:58 +03:00
commit 23a4a8e348
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
3 changed files with 25 additions and 33 deletions

View file

@ -413,21 +413,21 @@ pub struct Channel {
/// Remote builder for multi-machine / multi-arch builds.
#[derive(Debug, Clone, Serialize, Deserialize, FromRow)]
pub struct RemoteBuilder {
pub id: Uuid,
pub name: String,
pub ssh_uri: String,
pub systems: Vec<String>,
pub max_jobs: i32,
pub speed_factor: i32,
pub supported_features: Vec<String>,
pub mandatory_features: Vec<String>,
pub enabled: bool,
pub public_host_key: Option<String>,
pub ssh_key_file: Option<String>,
pub created_at: DateTime<Utc>,
pub consecutive_failures: i32,
pub disabled_until: Option<DateTime<Utc>>,
pub last_failure: Option<DateTime<Utc>>,
pub id: Uuid,
pub name: String,
pub ssh_uri: String,
pub systems: Vec<String>,
pub max_jobs: i32,
pub speed_factor: i32,
pub supported_features: Vec<String>,
pub mandatory_features: Vec<String>,
pub enabled: bool,
pub public_host_key: Option<String>,
pub ssh_key_file: Option<String>,
pub created_at: DateTime<Utc>,
pub consecutive_failures: i32,
pub disabled_until: Option<DateTime<Utc>>,
pub last_failure: Option<DateTime<Utc>>,
}
/// User account for authentication and personalization