pub enum IdlPdaProgram {
Account {
kind: String,
path: String,
},
Literal {
kind: String,
value: String,
},
Const {
kind: String,
value: Vec<u8>,
},
}Expand description
Program reference for cross-program PDAs
Variants§
Account
Reference to another account that holds the program ID
Literal
Literal program ID
Const
Constant program ID as bytes
Trait Implementations§
Source§impl Clone for IdlPdaProgram
impl Clone for IdlPdaProgram
Source§fn clone(&self) -> IdlPdaProgram
fn clone(&self) -> IdlPdaProgram
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 IdlPdaProgram
impl Debug for IdlPdaProgram
Source§impl<'de> Deserialize<'de> for IdlPdaProgram
impl<'de> Deserialize<'de> for IdlPdaProgram
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 IdlPdaProgram
impl RefUnwindSafe for IdlPdaProgram
impl Send for IdlPdaProgram
impl Sync for IdlPdaProgram
impl Unpin for IdlPdaProgram
impl UnsafeUnpin for IdlPdaProgram
impl UnwindSafe for IdlPdaProgram
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