pub struct TransferWithSeed<'a, 'b> {
pub from: &'a AccountView<'a>,
pub base: &'a AccountView<'a>,
pub to: &'a AccountView<'a>,
pub lamports: u64,
pub from_seed: &'b [u8],
pub from_owner: &'b Address,
}Expand description
Builder for TransferWithSeed.
Fields§
§from: &'a AccountView<'a>§base: &'a AccountView<'a>§to: &'a AccountView<'a>§lamports: u64§from_seed: &'b [u8]§from_owner: &'b AddressImplementations§
Source§impl TransferWithSeed<'_, '_>
impl TransferWithSeed<'_, '_>
pub fn invoke(&self) -> ProgramResult
pub fn invoke_signed(&self, signers: &[Signer<'_, '_>]) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> !Send for TransferWithSeed<'a, 'b>
impl<'a, 'b> !Sync for TransferWithSeed<'a, 'b>
impl<'a, 'b> Freeze for TransferWithSeed<'a, 'b>
impl<'a, 'b> RefUnwindSafe for TransferWithSeed<'a, 'b>
impl<'a, 'b> Unpin for TransferWithSeed<'a, 'b>
impl<'a, 'b> UnsafeUnpin for TransferWithSeed<'a, 'b>
impl<'a, 'b> UnwindSafe for TransferWithSeed<'a, 'b>
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