pub struct ReleaseInfo {
pub description: Option<String>,
pub release_id: String,
pub stack: Stack,
pub version: Option<String>,
}Expand description
Release metadata
Identifies a specific release version and includes the stack definition. The deployment engine uses this to track which release is currently deployed and which is the target.
JSON schema
{
"description": "Release metadata\n\nIdentifies a specific release version and includes the stack definition.\nThe deployment engine uses this to track which release is currently deployed\nand which is the target.",
"type": "object",
"required": [
"releaseId",
"stack"
],
"properties": {
"description": {
"description": "Short description of the release",
"type": [
"string",
"null"
]
},
"releaseId": {
"description": "Release ID (e.g., rel_xyz)",
"type": "string"
},
"stack": {
"description": "Stack definition for this release",
"allOf": [
{
"$ref": "#/components/schemas/Stack"
}
]
},
"version": {
"description": "Version string (e.g., 2.1.0)",
"type": [
"string",
"null"
]
}
}
}Fields§
§description: Option<String>Short description of the release
release_id: StringRelease ID (e.g., rel_xyz)
stack: StackStack definition for this release
version: Option<String>Version string (e.g., 2.1.0)
Implementations§
Source§impl ReleaseInfo
impl ReleaseInfo
pub fn builder() -> ReleaseInfo
Trait Implementations§
Source§impl Clone for ReleaseInfo
impl Clone for ReleaseInfo
Source§fn clone(&self) -> ReleaseInfo
fn clone(&self) -> ReleaseInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 ReleaseInfo
impl Debug for ReleaseInfo
Source§impl<'de> Deserialize<'de> for ReleaseInfo
impl<'de> Deserialize<'de> for ReleaseInfo
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<&ReleaseInfo> for ReleaseInfo
impl From<&ReleaseInfo> for ReleaseInfo
Source§fn from(value: &ReleaseInfo) -> Self
fn from(value: &ReleaseInfo) -> Self
Converts to this type from the input type.
Source§impl From<ReleaseInfo> for ReleaseInfo
impl From<ReleaseInfo> for ReleaseInfo
Source§fn from(value: ReleaseInfo) -> Self
fn from(value: ReleaseInfo) -> Self
Converts to this type from the input type.
Source§impl Serialize for ReleaseInfo
impl Serialize for ReleaseInfo
Source§impl TryFrom<ReleaseInfo> for ReleaseInfo
impl TryFrom<ReleaseInfo> for ReleaseInfo
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ReleaseInfo) -> Result<Self, ConversionError>
fn try_from(value: ReleaseInfo) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ReleaseInfo
impl RefUnwindSafe for ReleaseInfo
impl Send for ReleaseInfo
impl Sync for ReleaseInfo
impl Unpin for ReleaseInfo
impl UnsafeUnpin for ReleaseInfo
impl UnwindSafe for ReleaseInfo
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