pub struct AppSpecStaticSitesItemEnvsItem {
pub key: AppSpecStaticSitesItemEnvsItemKey,
pub scope: AppSpecStaticSitesItemEnvsItemScope,
pub type_: AppSpecStaticSitesItemEnvsItemType,
pub value: Option<String>,
}Expand description
AppSpecStaticSitesItemEnvsItem
JSON schema
{
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The variable name",
"examples": [
"BASE_URL"
],
"type": "string",
"pattern": "^[_A-Za-z][_A-Za-z0-9]*$"
},
"scope": {
"description": "- RUN_TIME: Made available only at run-time\n- BUILD_TIME: Made available only at build-time\n- RUN_AND_BUILD_TIME: Made available at both build and run-time",
"default": "RUN_AND_BUILD_TIME",
"examples": [
"BUILD_TIME"
],
"type": "string",
"enum": [
"UNSET",
"RUN_TIME",
"BUILD_TIME",
"RUN_AND_BUILD_TIME"
]
},
"type": {
"description": "- GENERAL: A plain-text environment variable\n- SECRET: A secret encrypted environment variable",
"default": "GENERAL",
"examples": [
"GENERAL"
],
"type": "string",
"enum": [
"GENERAL",
"SECRET"
]
},
"value": {
"description": "The value. If the type is `SECRET`, the value will be encrypted on first submission. On following submissions, the encrypted value should be used.",
"examples": [
"http://example.com"
],
"type": "string"
}
}
}Fields§
§key: AppSpecStaticSitesItemEnvsItemKeyThe variable name
scope: AppSpecStaticSitesItemEnvsItemScope- RUN_TIME: Made available only at run-time
- BUILD_TIME: Made available only at build-time
- RUN_AND_BUILD_TIME: Made available at both build and run-time
type_: AppSpecStaticSitesItemEnvsItemType- GENERAL: A plain-text environment variable
- SECRET: A secret encrypted environment variable
value: Option<String>The value. If the type is SECRET, the value will be encrypted on first submission. On following submissions, the encrypted value should be used.
Trait Implementations§
Source§impl Clone for AppSpecStaticSitesItemEnvsItem
impl Clone for AppSpecStaticSitesItemEnvsItem
Source§fn clone(&self) -> AppSpecStaticSitesItemEnvsItem
fn clone(&self) -> AppSpecStaticSitesItemEnvsItem
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 AppSpecStaticSitesItemEnvsItem
impl<'de> Deserialize<'de> for AppSpecStaticSitesItemEnvsItem
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<&AppSpecStaticSitesItemEnvsItem> for AppSpecStaticSitesItemEnvsItem
impl From<&AppSpecStaticSitesItemEnvsItem> for AppSpecStaticSitesItemEnvsItem
Source§fn from(value: &AppSpecStaticSitesItemEnvsItem) -> Self
fn from(value: &AppSpecStaticSitesItemEnvsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AppSpecStaticSitesItemEnvsItem
impl RefUnwindSafe for AppSpecStaticSitesItemEnvsItem
impl Send for AppSpecStaticSitesItemEnvsItem
impl Sync for AppSpecStaticSitesItemEnvsItem
impl Unpin for AppSpecStaticSitesItemEnvsItem
impl UnsafeUnpin for AppSpecStaticSitesItemEnvsItem
impl UnwindSafe for AppSpecStaticSitesItemEnvsItem
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