Struct em_client::models::AppRequest
source[−]pub struct AppRequest {
pub name: String,
pub description: Option<String>,
pub input_image_name: String,
pub output_image_name: String,
pub isvprodid: i32,
pub isvsvn: i32,
pub mem_size: i64,
pub threads: i32,
pub allowed_domains: Option<Vec<String>>,
pub advanced_settings: Option<AdvancedSettings>,
pub labels: Option<HashMap<String, String>>,
}
Expand description
Request to create an app.
Fields
name: String
Name of the app.
description: Option<String>
Description of the app.
input_image_name: String
Input image name of images for apps.
output_image_name: String
Output image name of images for apps.
isvprodid: i32
IsvProdId
isvsvn: i32
ISVSVN
mem_size: i64
Mem size required for the image.
threads: i32
Threads req for the image.
allowed_domains: Option<Vec<String>>
advanced_settings: Option<AdvancedSettings>
labels: Option<HashMap<String, String>>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AppRequest
impl Send for AppRequest
impl Sync for AppRequest
impl Unpin for AppRequest
impl UnwindSafe for AppRequest
Blanket Implementations
Mutably borrows from an owned value. Read more