pub struct DeployConfigUpdate {Show 15 fields
pub runner: Option<u8>,
pub deployment_method: Option<u8>,
pub kind: Option<String>,
pub source_path: Option<String>,
pub remote_path: Option<String>,
pub package_manager: Option<String>,
pub pm2_app: Option<String>,
pub pm2_env: Option<HashMap<String, Value>>,
pub port: Option<u16>,
pub output_path: Option<String>,
pub build_command: Option<String>,
pub install_command: Option<String>,
pub binary_name: Option<String>,
pub build_target: Option<String>,
pub shared_lib_path: Option<String>,
}Expand description
Payload sent to PATCH /v1/frontend_apps/:id with deploy config fields. Only non-None fields are serialized to the request body.
Fields§
§runner: Option<u8>§deployment_method: Option<u8>§kind: Option<String>§source_path: Option<String>§remote_path: Option<String>§package_manager: Option<String>§pm2_app: Option<String>§pm2_env: Option<HashMap<String, Value>>§port: Option<u16>§output_path: Option<String>§build_command: Option<String>§install_command: Option<String>§binary_name: Option<String>§build_target: Option<String>Implementations§
Trait Implementations§
Source§impl Debug for DeployConfigUpdate
impl Debug for DeployConfigUpdate
Source§impl Default for DeployConfigUpdate
impl Default for DeployConfigUpdate
Source§fn default() -> DeployConfigUpdate
fn default() -> DeployConfigUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeployConfigUpdate
impl<'de> Deserialize<'de> for DeployConfigUpdate
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
Auto Trait Implementations§
impl Freeze for DeployConfigUpdate
impl RefUnwindSafe for DeployConfigUpdate
impl Send for DeployConfigUpdate
impl Sync for DeployConfigUpdate
impl Unpin for DeployConfigUpdate
impl UnsafeUnpin for DeployConfigUpdate
impl UnwindSafe for DeployConfigUpdate
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