Skip to main content

codama_nodes/generated/shared/
instruction_lifecycle.rs

1use serde::{Deserialize, Serialize};
2
3/// The lifecycle stage of an instruction.
4#[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize, Deserialize)]
5#[serde(rename_all = "camelCase")]
6pub enum InstructionLifecycle {
7    /// No longer included in client SDKs. Retained in the IDL for historical reference only.
8    Archived,
9    /// Still callable but discouraged. Clients should migrate to a replacement instruction.
10    Deprecated,
11    /// Work-in-progress. The instruction may change before it stabilises.
12    Draft,
13    /// Stable and supported for production use.
14    Live,
15}