pub struct PdaDefinitionV1 {
pub name: String,
pub seeds: Vec<PdaSeedV1>,
pub program_id: Option<String>,
pub program: Option<PdaProgramV1>,
}Fields§
§name: String§seeds: Vec<PdaSeedV1>§program_id: Option<String>Legacy/static PDA program. Retained so existing ProgramSpec hashes do not change when the PDA program is a literal.
program: Option<PdaProgramV1>Dynamic PDA program selector. This is emitted only when the owning program must be resolved from another account or instruction argument.
Trait Implementations§
Source§impl Clone for PdaDefinitionV1
impl Clone for PdaDefinitionV1
Source§fn clone(&self) -> PdaDefinitionV1
fn clone(&self) -> PdaDefinitionV1
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 moreSource§impl Debug for PdaDefinitionV1
impl Debug for PdaDefinitionV1
Source§impl<'de> Deserialize<'de> for PdaDefinitionV1
impl<'de> Deserialize<'de> for PdaDefinitionV1
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
Source§impl PartialEq for PdaDefinitionV1
impl PartialEq for PdaDefinitionV1
Source§impl Serialize for PdaDefinitionV1
impl Serialize for PdaDefinitionV1
impl StructuralPartialEq for PdaDefinitionV1
Auto Trait Implementations§
impl Freeze for PdaDefinitionV1
impl RefUnwindSafe for PdaDefinitionV1
impl Send for PdaDefinitionV1
impl Sync for PdaDefinitionV1
impl Unpin for PdaDefinitionV1
impl UnsafeUnpin for PdaDefinitionV1
impl UnwindSafe for PdaDefinitionV1
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