pub struct Stack {
pub id: String,
pub permissions: Option<PermissionsConfig>,
pub resources: HashMap<String, ResourceEntry>,
}Expand description
A bag of resources, unaware of any cloud.
JSON schema
{
"description": "A bag of resources, unaware of any cloud.",
"type": "object",
"required": [
"id",
"resources"
],
"properties": {
"id": {
"description": "Unique identifier for the stack",
"type": "string"
},
"permissions": {
"description": "Combined permissions configuration containing both profiles and management",
"allOf": [
{
"$ref": "#/components/schemas/PermissionsConfig"
}
]
},
"resources": {
"description": "Map of resource IDs to their configurations and lifecycle settings",
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ResourceEntry"
}
}
},
"additionalProperties": false
}Fields§
§id: StringUnique identifier for the stack
permissions: Option<PermissionsConfig>Combined permissions configuration containing both profiles and management
resources: HashMap<String, ResourceEntry>Map of resource IDs to their configurations and lifecycle settings
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stack
impl<'de> Deserialize<'de> for Stack
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 Stack
impl RefUnwindSafe for Stack
impl Send for Stack
impl Sync for Stack
impl Unpin for Stack
impl UnsafeUnpin for Stack
impl UnwindSafe for Stack
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