pub struct IdlAccountEntry {
pub name: &'static str,
pub writable: bool,
pub signer: bool,
pub layout_ref: &'static str,
pub pda_seeds: &'static [PdaSeedHint],
}Expand description
IDL account entry with optional PDA metadata.
Fields§
§name: &'static strAccount name.
writable: boolWhether the account is writable.
signer: boolWhether the account is a signer.
layout_ref: &'static strOptional layout reference name.
pda_seeds: &'static [PdaSeedHint]PDA seed hints (empty if not a PDA).
Trait Implementations§
Source§impl Clone for IdlAccountEntry
impl Clone for IdlAccountEntry
Source§fn clone(&self) -> IdlAccountEntry
fn clone(&self) -> IdlAccountEntry
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 IdlAccountEntry
Auto Trait Implementations§
impl Freeze for IdlAccountEntry
impl RefUnwindSafe for IdlAccountEntry
impl Send for IdlAccountEntry
impl Sync for IdlAccountEntry
impl Unpin for IdlAccountEntry
impl UnsafeUnpin for IdlAccountEntry
impl UnwindSafe for IdlAccountEntry
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