Skip to main content

SignerAccounts

Trait SignerAccounts 

Source
pub trait SignerAccounts<'info> {
    // Required methods
    fn get_fee_payer(&self) -> &Signer<'info>;
    fn get_authority(&self) -> &Signer<'info>;
}

Required Methods§

Source

fn get_fee_payer(&self) -> &Signer<'info>

Source

fn get_authority(&self) -> &Signer<'info>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'info> SignerAccounts<'info> for InvokeCpiInstruction<'info>

Source§

impl<'info> SignerAccounts<'info> for InvokeInstruction<'info>