pub struct DeployAwsInput {
pub deployment_slug: String,
pub files: Option<Vec<File>>,
pub flake_url: String,
pub instance_type: String,
pub max_size: Option<i64>,
pub min_size: Option<i64>,
pub subdomain_prefix: String,
pub targets: Option<Vec<Target>>,
pub template_id: String,
}
Expand description
DeployAwsInput
JSON schema
{
"type": "object",
"required": [
"deployment_slug",
"flake_url",
"instance_type",
"subdomain_prefix",
"template_id"
],
"properties": {
"deployment_slug": {
"type": "string"
},
"files": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/File"
}
},
"flake_url": {
"type": "string"
},
"instance_type": {
"type": "string"
},
"max_size": {
"type": [
"integer",
"null"
],
"format": "int64"
},
"min_size": {
"type": [
"integer",
"null"
],
"format": "int64"
},
"subdomain_prefix": {
"type": "string"
},
"targets": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/Target"
}
},
"template_id": {
"type": "string"
}
}
}
Fields§
§deployment_slug: String
§files: Option<Vec<File>>
§flake_url: String
§instance_type: String
§max_size: Option<i64>
§min_size: Option<i64>
§subdomain_prefix: String
§targets: Option<Vec<Target>>
§template_id: String
Trait Implementations§
Source§impl Clone for DeployAwsInput
impl Clone for DeployAwsInput
Source§fn clone(&self) -> DeployAwsInput
fn clone(&self) -> DeployAwsInput
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 DeployAwsInput
impl Debug for DeployAwsInput
Source§impl<'de> Deserialize<'de> for DeployAwsInput
impl<'de> Deserialize<'de> for DeployAwsInput
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 From<&DeployAwsInput> for DeployAwsInput
impl From<&DeployAwsInput> for DeployAwsInput
Source§fn from(value: &DeployAwsInput) -> Self
fn from(value: &DeployAwsInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeployAwsInput
impl RefUnwindSafe for DeployAwsInput
impl Send for DeployAwsInput
impl Sync for DeployAwsInput
impl Unpin for DeployAwsInput
impl UnwindSafe for DeployAwsInput
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