pub struct UpdateSettings {
pub is_auto_deploy: Option<bool>,
pub build_cmd: Option<String>,
pub envs: Option<Value>,
pub branch_name: Option<String>,
pub commit_sha: Option<String>,
pub env_version: Option<String>,
pub index_dir: Option<String>,
pub run_cmd: Option<String>,
pub framework: Option<Box<Frameworks>>,
pub name: Option<String>,
pub comment: Option<String>,
pub preset_id: Option<f64>,
}Fields§
§is_auto_deploy: Option<bool>Автоматический деплой.
build_cmd: Option<String>Команда сборки приложения.
envs: Option<Value>Переменные окружения приложения. Объект с ключами и значениями типа string.
branch_name: Option<String>Название ветки репозитория из которой необходимо собрать приложение.
commit_sha: Option<String>Хэш коммита.
env_version: Option<String>Версия окружения.
index_dir: Option<String>Путь к директории с индексным файлом. Используется для приложений type: frontend. Не используется для приложений type: backend. Значение
всегда должно начинаться с /.
run_cmd: Option<String>Команда для запуска приложения. Используется для приложений type: backend. Не используется для приложений type: frontend.
framework: Option<Box<Frameworks>>§name: Option<String>Имя приложения.
comment: Option<String>Комментарий к приложению.
preset_id: Option<f64>ID тарифа.
Implementations§
Source§impl UpdateSettings
impl UpdateSettings
pub fn new() -> UpdateSettings
Trait Implementations§
Source§impl Clone for UpdateSettings
impl Clone for UpdateSettings
Source§fn clone(&self) -> UpdateSettings
fn clone(&self) -> UpdateSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateSettings
impl Debug for UpdateSettings
Source§impl Default for UpdateSettings
impl Default for UpdateSettings
Source§fn default() -> UpdateSettings
fn default() -> UpdateSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateSettings
impl<'de> Deserialize<'de> for UpdateSettings
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 PartialEq for UpdateSettings
impl PartialEq for UpdateSettings
Source§fn eq(&self, other: &UpdateSettings) -> bool
fn eq(&self, other: &UpdateSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpdateSettings
impl Serialize for UpdateSettings
impl StructuralPartialEq for UpdateSettings
Auto Trait Implementations§
impl Freeze for UpdateSettings
impl RefUnwindSafe for UpdateSettings
impl Send for UpdateSettings
impl Sync for UpdateSettings
impl Unpin for UpdateSettings
impl UnsafeUnpin for UpdateSettings
impl UnwindSafe for UpdateSettings
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