pub enum UpdateEnvVarsForServiceBodyItem {
Variant0 {
key: Option<String>,
value: Option<String>,
},
Variant1 {
generate_value: Option<bool>,
key: Option<String>,
},
}Expand description
UpdateEnvVarsForServiceBodyItem
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 UpdateEnvVarsForServiceBodyItem
impl Clone for UpdateEnvVarsForServiceBodyItem
Source§fn clone(&self) -> UpdateEnvVarsForServiceBodyItem
fn clone(&self) -> UpdateEnvVarsForServiceBodyItem
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<'de> Deserialize<'de> for UpdateEnvVarsForServiceBodyItem
impl<'de> Deserialize<'de> for UpdateEnvVarsForServiceBodyItem
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 UpdateEnvVarsForServiceBodyItem
impl RefUnwindSafe for UpdateEnvVarsForServiceBodyItem
impl Send for UpdateEnvVarsForServiceBodyItem
impl Sync for UpdateEnvVarsForServiceBodyItem
impl Unpin for UpdateEnvVarsForServiceBodyItem
impl UnsafeUnpin for UpdateEnvVarsForServiceBodyItem
impl UnwindSafe for UpdateEnvVarsForServiceBodyItem
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