pub enum ServicePostEnvVarsItem {
Variant0 {
key: Option<String>,
value: Option<String>,
},
Variant1 {
generate_value: Option<bool>,
key: Option<String>,
},
}Expand description
ServicePostEnvVarsItem
JSON schema
{
"type": "object",
"oneOf": [
{
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
{
"type": "object",
"properties": {
"generateValue": {
"description": "If true, Render generates a strong random value
for this environment variable on creation. Cannot be combined with
`value`.",
"type": "boolean"
},
"key": {
"type": "string"
}
}
}
]
}Variants§
Trait Implementations§
Source§impl Clone for ServicePostEnvVarsItem
impl Clone for ServicePostEnvVarsItem
Source§fn clone(&self) -> ServicePostEnvVarsItem
fn clone(&self) -> ServicePostEnvVarsItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServicePostEnvVarsItem
impl Debug for ServicePostEnvVarsItem
Source§impl<'de> Deserialize<'de> for ServicePostEnvVarsItem
impl<'de> Deserialize<'de> for ServicePostEnvVarsItem
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 ServicePostEnvVarsItem
impl RefUnwindSafe for ServicePostEnvVarsItem
impl Send for ServicePostEnvVarsItem
impl Sync for ServicePostEnvVarsItem
impl Unpin for ServicePostEnvVarsItem
impl UnsafeUnpin for ServicePostEnvVarsItem
impl UnwindSafe for ServicePostEnvVarsItem
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