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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Get the TypeId of this object.