pub enum InstructionLifecycle {
Archived,
Deprecated,
Draft,
Live,
}Expand description
The lifecycle stage of an instruction.
Variants§
Archived
No longer included in client SDKs. Retained in the IDL for historical reference only.
Deprecated
Still callable but discouraged. Clients should migrate to a replacement instruction.
Draft
Work-in-progress. The instruction may change before it stabilises.
Live
Stable and supported for production use.
Trait Implementations§
Source§impl Clone for InstructionLifecycle
impl Clone for InstructionLifecycle
Source§fn clone(&self) -> InstructionLifecycle
fn clone(&self) -> InstructionLifecycle
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 moreimpl Copy for InstructionLifecycle
Source§impl Debug for InstructionLifecycle
impl Debug for InstructionLifecycle
Source§impl Default for InstructionLifecycle
impl Default for InstructionLifecycle
Source§impl<'de> Deserialize<'de> for InstructionLifecycle
impl<'de> Deserialize<'de> for InstructionLifecycle
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
impl Eq for InstructionLifecycle
Source§impl PartialEq for InstructionLifecycle
impl PartialEq for InstructionLifecycle
Source§impl Serialize for InstructionLifecycle
impl Serialize for InstructionLifecycle
impl StructuralPartialEq for InstructionLifecycle
Auto Trait Implementations§
impl Freeze for InstructionLifecycle
impl RefUnwindSafe for InstructionLifecycle
impl Send for InstructionLifecycle
impl Sync for InstructionLifecycle
impl Unpin for InstructionLifecycle
impl UnsafeUnpin for InstructionLifecycle
impl UnwindSafe for InstructionLifecycle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.