pub struct Settings {
pub name: String,
pub author: String,
pub description: String,
pub base_dir: String,
pub deploy_dir: String,
pub services_dir: String,
pub compose_executable: String,
pub compose_file: String,
pub compose_detached: bool,
}
Expand description
The struct for the launcher settings.
Fields§
§name: String
The name of app launcher.
The author of the launcher
description: String
The description of the launcher.
base_dir: String
The base directory usually its the root directory of the launcher.
deploy_dir: String
The directory where all the configurations will be saved.
services_dir: String
The directory where all the git repositories will be cloned.
compose_executable: String
The executable file for executing the compose file example: docker-compose or podmad
compose_file: String
The target compose yaml file
compose_detached: bool
Execute the compose file in detached mode.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
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 Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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