pub enum ProgramOrigin {
Anchor,
Shank,
}Expand description
The toolchain that originally generated a program description.
Variants§
Anchor
The program was originally described by an Anchor IDL.
Shank
The program was originally described by a Shank IDL.
Trait Implementations§
Source§impl Clone for ProgramOrigin
impl Clone for ProgramOrigin
Source§fn clone(&self) -> ProgramOrigin
fn clone(&self) -> ProgramOrigin
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 ProgramOrigin
Source§impl Debug for ProgramOrigin
impl Debug for ProgramOrigin
Source§impl<'de> Deserialize<'de> for ProgramOrigin
impl<'de> Deserialize<'de> for ProgramOrigin
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 ProgramOrigin
Source§impl PartialEq for ProgramOrigin
impl PartialEq for ProgramOrigin
Source§impl Serialize for ProgramOrigin
impl Serialize for ProgramOrigin
impl StructuralPartialEq for ProgramOrigin
Auto Trait Implementations§
impl Freeze for ProgramOrigin
impl RefUnwindSafe for ProgramOrigin
impl Send for ProgramOrigin
impl Sync for ProgramOrigin
impl Unpin for ProgramOrigin
impl UnsafeUnpin for ProgramOrigin
impl UnwindSafe for ProgramOrigin
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.