pub struct UpdateProjectRequest {
pub name: Option<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 auto_deploy: Option<bool>,
pub poll_interval_secs: Option<Option<u64>>,
}Expand description
Body for PATCH /api/v1/projects/{id}. All fields are optional.
Fields§
§name: Option<String>New project name.
description: Option<String>New description.
git_url: Option<String>New git URL.
git_branch: Option<String>New git branch.
git_credential_id: Option<String>New git credential id.
build_kind: Option<BuildKind>New build kind.
build_path: Option<String>New build path.
deploy_spec_path: Option<String>New path (inside the cloned repo) to the DeploymentSpec YAML that
workflow DeployProject actions should apply. Pass "" to clear.
registry_credential_id: Option<String>New registry credential id.
default_environment_id: Option<String>New default environment id.
auto_deploy: Option<bool>Enable or disable automatic deploy on new commits.
poll_interval_secs: Option<Option<u64>>Set polling interval in seconds. null disables polling.
Trait Implementations§
Source§impl ComposeSchema for UpdateProjectRequest
impl ComposeSchema for UpdateProjectRequest
Source§impl Debug for UpdateProjectRequest
impl Debug for UpdateProjectRequest
Source§impl<'de> Deserialize<'de> for UpdateProjectRequest
impl<'de> Deserialize<'de> for UpdateProjectRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UpdateProjectRequest
impl Serialize for UpdateProjectRequest
Auto Trait Implementations§
impl Freeze for UpdateProjectRequest
impl RefUnwindSafe for UpdateProjectRequest
impl Send for UpdateProjectRequest
impl Sync for UpdateProjectRequest
impl Unpin for UpdateProjectRequest
impl UnsafeUnpin for UpdateProjectRequest
impl UnwindSafe for UpdateProjectRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more