pub struct StoredProject {Show 16 fields
pub id: String,
pub name: String,
pub description: Option<String>,
pub git_url: Option<String>,
pub git_branch: Option<String>,
pub git_credential_id: Option<String>,
pub build_kind: Option<BuildKind>,
pub build_path: Option<String>,
pub deploy_spec_path: Option<String>,
pub registry_credential_id: Option<String>,
pub default_environment_id: Option<String>,
pub owner_id: Option<String>,
pub auto_deploy: bool,
pub poll_interval_secs: Option<u64>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
A project bundles a git source, build configuration, registry credential reference, linked deployments, and a default environment.
Fields§
§id: StringUUID identifier.
name: StringProject name (globally unique).
description: Option<String>Free-form description shown in the UI.
git_url: Option<String>Git repository URL (e.g. "https://github.com/user/repo").
git_branch: Option<String>Git branch to build from (default: "main").
git_credential_id: Option<String>Reference to a GitCredential (Phase 5.2).
build_kind: Option<BuildKind>How the project is built.
build_path: Option<String>Relative path within the repo (e.g. "./Dockerfile").
deploy_spec_path: Option<String>Relative path (inside the cloned repo) to a DeploymentSpec YAML that
the workflow DeployProject action should apply.
When None, the workflow DeployProject action fails with a clear
“no deploy spec configured” error rather than silently succeeding —
callers are expected to set this explicitly via project edit.
registry_credential_id: Option<String>Reference to a RegistryCredential (Phase 5.2).
default_environment_id: Option<String>Reference to the default environment for this project.
owner_id: Option<String>Reference to the owning user.
auto_deploy: boolWhether new commits on the tracked branch should automatically trigger a build + deploy cycle.
poll_interval_secs: Option<u64>If set, the daemon polls the remote for new commits every N seconds.
None disables polling (the project is only updated via manual pull
or webhook).
created_at: DateTime<Utc>When the project was created.
updated_at: DateTime<Utc>When the project was last updated.
Implementations§
Trait Implementations§
Source§impl Clone for StoredProject
impl Clone for StoredProject
Source§fn clone(&self) -> StoredProject
fn clone(&self) -> StoredProject
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more