pub struct FrontendApp {Show 20 fields
pub id: String,
pub name: String,
pub app_type: AppType,
pub runner: Runner,
pub deployment_method: DeploymentMethod,
pub project_id: i32,
pub tenant_id: i32,
pub repository: Option<String>,
pub description: Option<String>,
pub project_ids: Vec<i32>,
pub kind: Option<String>,
pub source: Option<String>,
pub output: Option<String>,
pub package_manager: Option<String>,
pub pm2_app: Option<String>,
pub shared_lib: Option<String>,
pub compile_cmd: Option<String>,
pub path: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
A deployable frontend application on the smbCloud platform.
Replaces the legacy Project as the primary unit of deployment.
A FrontendApp belongs to a Tenant directly and is associated with an
owner workspace (Project). It can be shared across multiple workspaces.
Fields§
§id: String§name: String§app_type: AppType§runner: Runner§deployment_method: DeploymentMethod§project_id: i32§tenant_id: i32§repository: Option<String>§description: Option<String>§project_ids: Vec<i32>§kind: Option<String>Deployment kind, e.g. “vite-spa”. Absent for server-side runners.
source: Option<String>Local source directory to build from, e.g. “frontend/my-app”.
output: Option<String>Build output directory relative to source, e.g. “dist”.
package_manager: Option<String>Package manager to use for the build step, e.g. “pnpm”.
pm2_app: Option<String>PM2 process name to restart after a nextjs-ssr deploy.
Path to a shared lib directory to rsync before deploying.
compile_cmd: Option<String>SSH command to run on the server after rsyncing the shared lib.
path: Option<String>Remote destination path on the server.
created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for FrontendApp
impl Clone for FrontendApp
Source§fn clone(&self) -> FrontendApp
fn clone(&self) -> FrontendApp
Returns a duplicate of the value. Read more
1.0.0 · 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 FrontendApp
impl Debug for FrontendApp
Source§impl<'de> Deserialize<'de> for FrontendApp
impl<'de> Deserialize<'de> for FrontendApp
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 Display for FrontendApp
impl Display for FrontendApp
Auto Trait Implementations§
impl Freeze for FrontendApp
impl RefUnwindSafe for FrontendApp
impl Send for FrontendApp
impl Sync for FrontendApp
impl Unpin for FrontendApp
impl UnsafeUnpin for FrontendApp
impl UnwindSafe for FrontendApp
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