pub enum IdlPdaSeed {
Const {
value: Vec<u8>,
},
Account {
path: String,
account: Option<String>,
},
Arg {
path: String,
arg_type: Option<String>,
},
}Expand description
PDA seed in Anchor IDL format
Variants§
Const
Constant byte array seed
Account
Reference to another account in the instruction
Arg
Reference to an instruction argument
Trait Implementations§
Source§impl Clone for IdlPdaSeed
impl Clone for IdlPdaSeed
Source§fn clone(&self) -> IdlPdaSeed
fn clone(&self) -> IdlPdaSeed
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 IdlPdaSeed
impl Debug for IdlPdaSeed
Source§impl<'de> Deserialize<'de> for IdlPdaSeed
impl<'de> Deserialize<'de> for IdlPdaSeed
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 IdlPdaSeed
impl RefUnwindSafe for IdlPdaSeed
impl Send for IdlPdaSeed
impl Sync for IdlPdaSeed
impl Unpin for IdlPdaSeed
impl UnsafeUnpin for IdlPdaSeed
impl UnwindSafe for IdlPdaSeed
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