pub struct Stack {
pub created_at: DateTime<Utc>,
pub deleted_at: Option<DateTime<Utc>>,
pub description: Option<String>,
pub generator_id: Uuid,
pub id: Uuid,
pub name: String,
pub updated_at: DateTime<Utc>,
}Expand description
Represents a stack in the database.
JSON schema
{
"description": "Represents a stack in the database.",
"type": "object",
"required": [
"created_at",
"generator_id",
"id",
"name",
"updated_at"
],
"properties": {
"created_at": {
"description": "Timestamp when the stack was created.",
"type": "string",
"format": "date-time"
},
"deleted_at": {
"description": "Timestamp for soft deletion, if applicable.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"description": {
"description": "Optional description of the stack.",
"type": [
"string",
"null"
]
},
"generator_id": {
"description": "Optional generator ID.",
"type": "string",
"format": "uuid"
},
"id": {
"description": "Unique identifier for the stack.",
"type": "string",
"format": "uuid"
},
"name": {
"description": "Name of the stack.",
"type": "string"
},
"updated_at": {
"description": "Timestamp when the stack was last updated.",
"type": "string",
"format": "date-time"
}
}
}Fields§
§created_at: DateTime<Utc>Timestamp when the stack was created.
deleted_at: Option<DateTime<Utc>>Timestamp for soft deletion, if applicable.
description: Option<String>Optional description of the stack.
generator_id: UuidOptional generator ID.
id: UuidUnique identifier for the stack.
name: StringName of the stack.
updated_at: DateTime<Utc>Timestamp when the stack was last updated.
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