pub struct RemoveSolver {
pub program_id: Pubkey,
pub authority: Pubkey,
pub rent_recipient: Pubkey,
pub state_pda: Pubkey,
pub solver: Pubkey,
}Expand description
Builder for a RemoveSolver instruction.
authority authorizes the change and must be the state PDA’s current
solver authority; it signs but doesn’t receive anything. rent_recipient
receives the freed rent. solver is removed from the sorted solver list;
removing one that isn’t present fails.
Wire format: [discriminator=9, solver (32 bytes)].
Required accounts: [authority (S), rent_recipient (W), state_pda (W)].
Fields§
§program_id: Pubkey§rent_recipient: Pubkey§state_pda: Pubkey§solver: PubkeyTrait Implementations§
Source§impl From<RemoveSolver> for Instruction
impl From<RemoveSolver> for Instruction
Source§fn from(builder: RemoveSolver) -> Self
fn from(builder: RemoveSolver) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RemoveSolver
impl RefUnwindSafe for RemoveSolver
impl Send for RemoveSolver
impl Sync for RemoveSolver
impl Unpin for RemoveSolver
impl UnsafeUnpin for RemoveSolver
impl UnwindSafe for RemoveSolver
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